Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.001713/0.001713, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.002103/0.002103, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.528/1.528, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.033/3.033, allocations: 0.49 GB / 0.7923 GB, free: 1.266 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.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [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.002102/0.002102, allocations: 68.19 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212/1.214, allocations: 176.1 MB / 1.322 GB, free: 25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003688/1.218, allocations: 2.416 MB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2391/1.457, allocations: 154.3 MB / 1.475 GB, free: 6.23 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/1.457, allocations: 6.5 kB / 1.475 GB, free: 6.227 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003949/1.458, allocations: 86.69 kB / 1.475 GB, free: 6.168 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008682/1.459, allocations: 245.8 kB / 1.475 GB, free: 5.988 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/1.461, allocations: 0.6747 MB / 1.476 GB, free: 5.527 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0005873/1.461, allocations: 439.4 kB / 1.476 GB, free: 5.277 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/1.461, allocations: 29.36 kB / 1.476 GB, free: 5.266 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002528/1.462, allocations: 181.7 kB / 1.477 GB, free: 5.172 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/1.462, allocations: 217 kB / 1.477 GB, free: 5.035 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.896e-05/1.462, allocations: 29.12 kB / 1.477 GB, free: 5.035 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/1.463, allocations: 0.672 MB / 1.478 GB, free: 4.691 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/1.464, allocations: 80.23 kB / 1.478 GB, free: 4.629 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/1.464, allocations: 161.9 kB / 1.478 GB, free: 4.516 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/1.465, allocations: 0.6639 MB / 1.478 GB, free: 4.098 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/1.465, allocations: 0 / 1.478 GB, free: 4.098 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.363e-06/1.465, allocations: 0 / 1.478 GB, free: 4.098 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.213e-06/1.465, allocations: 0 / 1.478 GB, free: 4.098 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001683/1.466, allocations: 0.7742 MB / 1.479 GB, free: 3.426 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/1.467, allocations: 12.42 kB / 1.479 GB, free: 3.422 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/1.468, allocations: 183.9 kB / 1.479 GB, free: 3.352 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/1.469, allocations: 320.3 kB / 1.48 GB, free: 3.043 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/1.469, allocations: 45.45 kB / 1.48 GB, free: 3.004 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/1.469, allocations: 18.44 kB / 1.48 GB, free: 3 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004475/1.47, allocations: 214.6 kB / 1.48 GB, free: 2.852 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/1.47, allocations: 0 / 1.48 GB, free: 2.852 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/1.47, allocations: 5.438 kB / 1.48 GB, free: 2.848 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/1.47, allocations: 6.531 kB / 1.48 GB, free: 2.844 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/1.47, allocations: 115.5 kB / 1.48 GB, free: 2.793 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/1.473, allocations: 1.001 MB / 1.481 GB, free: 1.957 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008187/1.473, allocations: 148.4 kB / 1.481 GB, free: 1.875 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/1.474, allocations: 88.81 kB / 1.481 GB, free: 1.828 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/1.474, allocations: 1.188 kB / 1.481 GB, free: 1.828 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/1.474, allocations: 185 kB / 1.481 GB, free: 1.688 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/1.474, allocations: 0 / 1.481 GB, free: 1.688 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.004557/1.479, allocations: 0.8773 MB / 1.482 GB, free: 1.188 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/1.479, allocations: 84.86 kB / 1.482 GB, free: 1.09 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/1.479, allocations: 337.3 kB / 1.483 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/1.479, allocations: 40.05 kB / 1.483 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/1.48, allocations: 153.6 kB / 1.483 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/1.48, allocations: 59.53 kB / 1.483 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/1.48, allocations: 84.22 kB / 1.483 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001878/1.48, allocations: 342.7 kB / 1.483 GB, free: 244 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/1.48, allocations: 140.5 kB / 1.483 GB, free: 176 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/1.481, allocations: 226.1 kB / 1.484 GB, free: 32 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/1.482, allocations: 337.1 kB / 1.484 GB, free: 15.8 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.482, allocations: 1.281 kB / 1.484 GB, free: 15.8 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003985/1.486, allocations: 0.8706 MB / 1.485 GB, free: 15.35 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/1.486, allocations: 41.72 kB / 1.485 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.486, allocations: 1.438 kB / 1.485 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009988/1.487, allocations: 193.9 kB / 1.485 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/1.487, allocations: 44.28 kB / 1.485 GB, free: 15.2 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/1.49, allocations: 2.343 MB / 1.487 GB, free: 12.94 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/1.491, allocations: 51.64 kB / 1.487 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/1.491, allocations: 16.2 kB / 1.487 GB, free: 12.9 MB / 1.17 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003038/1.491, allocations: 189.1 kB / 1.488 GB, free: 12.73 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/1.491, allocations: 34.27 kB / 1.488 GB, free: 12.71 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/1.491, allocations: 26.64 kB / 1.488 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.491, allocations: 2.625 kB / 1.488 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/1.491, allocations: 0 / 1.488 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.491, allocations: 7.938 kB / 1.488 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/1.495, allocations: 1.044 MB / 1.489 GB, free: 11.95 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/1.495, allocations: 0 / 1.489 GB, free: 11.95 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/1.495, allocations: 14.28 kB / 1.489 GB, free: 11.95 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003295/1.495, allocations: 107.6 kB / 1.489 GB, free: 11.89 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/1.495, allocations: 15.86 kB / 1.489 GB, free: 11.88 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/1.496, allocations: 0.7509 MB / 1.49 GB, free: 11.2 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.496, allocations: 0.875 kB / 1.49 GB, free: 11.2 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003459/1.5, allocations: 0.8861 MB / 1.49 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/1.5, allocations: 134 kB / 1.491 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/1.5, allocations: 7.719 kB / 1.491 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/1.5, allocations: 16.17 kB / 1.491 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/1.5, allocations: 12.69 kB / 1.491 GB, free: 10.53 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/1.5, allocations: 13.95 kB / 1.491 GB, free: 10.52 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003568/1.501, allocations: 237.1 kB / 1.491 GB, free: 10.37 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/1.501, allocations: 1 kB / 1.491 GB, free: 10.37 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006374/1.501, allocations: 116.9 kB / 1.491 GB, free: 10.35 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.0004364/1.502, allocations: 194.6 kB / 1.491 GB, free: 10.22 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001704/1.504, allocations: 0.5209 MB / 1.492 GB, free: 9.875 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.504, allocations: 0 / 1.492 GB, free: 9.875 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007723/1.504, allocations: 224 kB / 1.492 GB, free: 9.73 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/1.505, allocations: 65.48 kB / 1.492 GB, free: 9.691 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/1.506, allocations: 0.6609 MB / 1.493 GB, free: 9.238 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/1.507, allocations: 0.7621 MB / 1.493 GB, free: 8.504 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/1.507, allocations: 24.08 kB / 1.493 GB, free: 8.492 MB / 1.17 GB Notification: Performance of SimCode: time 4.91e-07/1.507, allocations: 0 / 1.493 GB, free: 8.492 MB / 1.17 GB Notification: Performance of Templates: time 0.01104/1.518, allocations: 6.611 MB / 1.5 GB, free: 2.453 MB / 1.17 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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: 13.906675837002695]