Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 213 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.647/1.647, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.606/3.606, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinSpeDX.vol.T|sinSpeDX.sta_a.T|sinSpeDX.dxCoi.mWat_flow|sinSpeDX.vol.X_w|sinSpeDX.sta_a.X.1.|onOff.y|sinSpeDX.P|sinSpeDX.dxCoi.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed") translateModel(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sinSpeDX.vol.T|sinSpeDX.sta_a.T|sinSpeDX.dxCoi.mWat_flow|sinSpeDX.vol.X_w|sinSpeDX.sta_a.X.1.|onOff.y|sinSpeDX.P|sinSpeDX.dxCoi.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002946/0.002946, allocations: 69.25 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5631, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed): time 0.2745/0.8376, allocations: 181.7 MB / 1.505 GB, free: 10.59 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03458/0.8722, allocations: 18.73 MB / 1.523 GB, free: 7.809 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004233/0.8764, allocations: 59.56 kB / 1.523 GB, free: 7.75 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.004539/0.881, allocations: 1.009 MB / 1.524 GB, free: 6.734 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.8919, allocations: 2.624 MB / 1.526 GB, free: 4.098 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.01357/0.9055, allocations: 3.335 MB / 1.53 GB, free: 0.7891 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.01216/0.9176, allocations: 4.942 MB / 1.535 GB, free: 11.84 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005072/0.9227, allocations: 1.691 MB / 1.536 GB, free: 10.09 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007879/0.9306, allocations: 2.213 MB / 1.538 GB, free: 7.883 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004319/0.9349, allocations: 1.687 MB / 1.54 GB, free: 6.195 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0009895/0.9359, allocations: 380 kB / 1.54 GB, free: 5.824 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008736/0.9446, allocations: 3.079 MB / 1.543 GB, free: 2.738 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.9462, allocations: 1.099 MB / 1.544 GB, free: 1.637 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002559/0.9488, allocations: 1.319 MB / 1.546 GB, free: 320 kB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.9645, allocations: 7.243 MB / 1.553 GB, free: 9.047 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.9645, allocations: 4 kB / 1.553 GB, free: 9.043 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.857e-06/0.9645, allocations: 0 / 1.553 GB, free: 9.043 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001409/0.9646, allocations: 0 / 1.553 GB, free: 9.043 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 308 * Number of variables: 308 Notification: Performance of Generate backend data structure: time 0.01287/0.9775, allocations: 3.933 MB / 1.557 GB, free: 5.031 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.9776, allocations: 11.97 kB / 1.557 GB, free: 5.02 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02228/0.9999, allocations: 2.366 MB / 1.559 GB, free: 2.648 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008582/1.008, allocations: 2.898 MB / 1.562 GB, free: 15.69 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006108/1.009, allocations: 496.5 kB / 1.562 GB, free: 15.12 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005672/1.01, allocations: 144 kB / 1.562 GB, free: 14.98 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/1.02, allocations: 3.21 MB / 1.566 GB, free: 11.7 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/1.02, allocations: 7.938 kB / 1.566 GB, free: 11.69 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/1.021, allocations: 52 kB / 1.566 GB, free: 11.64 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-05/1.021, allocations: 50.39 kB / 1.566 GB, free: 11.59 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/1.036, allocations: 3.952 MB / 1.57 GB, free: 7.629 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02764/1.063, allocations: 9.328 MB / 1.579 GB, free: 14.23 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/1.081, allocations: 3.996 MB / 1.583 GB, free: 10.23 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007318/1.088, allocations: 1.891 MB / 1.584 GB, free: 8.332 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005366/1.089, allocations: 76.94 kB / 1.584 GB, free: 8.258 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008473/1.097, allocations: 2.396 MB / 1.587 GB, free: 5.816 MB / 1.279 GB Notification: Performance of pre-optimization done (n=107): time 7.324e-06/1.097, allocations: 0 / 1.587 GB, free: 5.816 MB / 1.279 GB Notification: Performance of matching and sorting (n=109): time 0.06926/1.166, allocations: 11.57 MB / 1.598 GB, free: 10.19 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/1.166, allocations: 64.41 kB / 1.598 GB, free: 10.12 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00661/1.173, allocations: 3.296 MB / 1.601 GB, free: 6.801 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0008533/1.174, allocations: 61.69 kB / 1.601 GB, free: 6.734 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/1.175, allocations: 1.043 MB / 1.602 GB, free: 5.68 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007569/1.176, allocations: 384.8 kB / 1.603 GB, free: 5.301 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008632/1.177, allocations: 326.7 kB / 1.603 GB, free: 4.973 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.177, allocations: 357.8 kB / 1.603 GB, free: 4.617 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007974/1.185, allocations: 2.319 MB / 1.606 GB, free: 2.273 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.307/2.492, allocations: 2.736 MB / 1.608 GB, free: 274.6 MB / 1.295 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.1372/2.629, allocations: 40.69 MB / 1.648 GB, free: 260.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/2.629, allocations: 0 / 1.648 GB, free: 260.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.03855/2.668, allocations: 6.843 MB / 1.655 GB, free: 253.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/2.668, allocations: 121 kB / 1.655 GB, free: 253.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/2.668, allocations: 0 / 1.655 GB, free: 253.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003535/2.672, allocations: 0.7887 MB / 1.656 GB, free: 252.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004103/2.676, allocations: 0.5108 MB / 1.656 GB, free: 252.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008377/2.684, allocations: 6.758 MB / 1.663 GB, free: 245.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/2.69, allocations: 362.4 kB / 1.663 GB, free: 244.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007639/2.691, allocations: 87.52 kB / 1.663 GB, free: 244.7 MB / 1.295 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.watVapEva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00951/2.7, allocations: 3.135 MB / 1.666 GB, free: 241.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007423/2.708, allocations: 2.729 MB / 1.669 GB, free: 238.7 MB / 1.295 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1132/2.821, allocations: 40.63 MB / 1.709 GB, free: 198 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.431e-05/2.821, allocations: 0 / 1.709 GB, free: 198 MB / 1.295 GB Notification: Performance of matching and sorting (n=153) (initialization_lambda0): time 0.03854/2.859, allocations: 6.792 MB / 1.715 GB, free: 191.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/2.859, allocations: 119.4 kB / 1.715 GB, free: 191.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/2.859, allocations: 0 / 1.715 GB, free: 191.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/2.863, allocations: 0.7391 MB / 1.716 GB, free: 190.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004161/2.867, allocations: 0.5069 MB / 1.717 GB, free: 189.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007388/2.874, allocations: 6.334 MB / 1.723 GB, free: 183.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005702/2.88, allocations: 367.5 kB / 1.723 GB, free: 182.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007758/2.881, allocations: 83.91 kB / 1.723 GB, free: 182.8 MB / 1.295 GB Warning: Assuming fixed start value for the following 1 variables: sinSpeDX.watVapEva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: sinSpeDX.vol.dynBal.medium.p = sinSpeDX.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 19 (sinSpeDX.i_x,$PRE.sinSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],$PRE.sinSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],$PRE.sinSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],$PRE.sinSpeDX.watVapEva.off,sinSpeDX.dxCoi.wetCoi.coiCap.stage,sinSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTEva[1],sinSpeDX.dxCoi.wetCoi.coiCap.checkBoundsTCon[1],sinSpeDX.dxCoi.wetCoi.shr.on,sinSpeDX.dxCoi.dryCoi.coiCap.stage,sinSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTEva[1],sinSpeDX.dxCoi.dryCoi.coiCap.checkBoundsTCon[1],sinSpeDX.watVapEva.off,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001448/2.882, allocations: 267.2 kB / 1.723 GB, free: 182.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/2.883, allocations: 239.5 kB / 1.724 GB, free: 182.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0359/2.919, allocations: 5.636 MB / 1.729 GB, free: 176.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0328/2.952, allocations: 5.252 MB / 1.734 GB, free: 171.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/2.952, allocations: 0 / 1.734 GB, free: 171.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003287/2.955, allocations: 0.747 MB / 1.735 GB, free: 170.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/2.957, allocations: 36 kB / 1.735 GB, free: 170.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005036/2.962, allocations: 353.1 kB / 1.735 GB, free: 170.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005617/2.963, allocations: 108.8 kB / 1.736 GB, free: 170.2 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01955/2.982, allocations: 4.406 MB / 1.74 GB, free: 165.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02054/3.003, allocations: 6.411 MB / 1.746 GB, free: 159.4 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006103/3.009, allocations: 1.873 MB / 1.748 GB, free: 157.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.005353/3.014, allocations: 2.328 MB / 1.75 GB, free: 155.2 MB / 1.295 GB Notification: Performance of Backend: time 3.21e-07/3.014, allocations: 0 / 1.75 GB, free: 155.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02616/3.04, allocations: 7.172 MB / 1.757 GB, free: 148 MB / 1.295 GB Notification: Performance of SimCode: time 0.01383/3.054, allocations: 5.736 MB / 1.763 GB, free: 142.3 MB / 1.295 GB Notification: Performance of Templates: time 0.1302/3.184, allocations: 93.84 MB / 1.854 GB, free: 48.99 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_AirSource_Examples_SingleSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.AirSource.Examples.SingleSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.611246134001703]