Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 107.2 kB / 16.36 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 193.1 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.408/2.408, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 70.64 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3048, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003724/0.3086, allocations: 2.391 MB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.8299/1.138, allocations: 151 MB / 1.169 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/1.139, allocations: 10.41 kB / 1.169 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003957/1.139, allocations: 88.64 kB / 1.169 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000791/1.14, allocations: 233.1 kB / 1.169 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001707/1.142, allocations: 0.6555 MB / 1.17 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005642/1.142, allocations: 436.3 kB / 1.17 GB, free: 1.344 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/1.142, allocations: 54.17 kB / 1.17 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/1.143, allocations: 177.6 kB / 1.17 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/1.143, allocations: 197.3 kB / 1.17 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/1.143, allocations: 33 kB / 1.17 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/1.144, allocations: 0.63 MB / 1.171 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/1.145, allocations: 81.42 kB / 1.171 GB, free: 0.9258 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/1.145, allocations: 164.9 kB / 1.171 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/1.146, allocations: 0.6572 MB / 1.172 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/1.146, allocations: 1 kB / 1.172 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.024e-06/1.146, allocations: 0 / 1.172 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.423e-06/1.146, allocations: 0 / 1.172 GB, free: 0.6016 MB / 0.8731 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.001662/1.147, allocations: 0.7369 MB / 1.173 GB, free: 32 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/1.148, allocations: 10.33 kB / 1.173 GB, free: 32 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/1.149, allocations: 165 kB / 1.173 GB, free: 4 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/1.15, allocations: 312 kB / 1.173 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/1.15, allocations: 52.83 kB / 1.173 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.905e-05/1.15, allocations: 17.34 kB / 1.173 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/1.15, allocations: 213 kB / 1.173 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.15, allocations: 0 / 1.173 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/1.151, allocations: 10.53 kB / 1.173 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.151, allocations: 2.562 kB / 1.173 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/1.151, allocations: 113.9 kB / 1.173 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/1.153, allocations: 0.997 MB / 1.174 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/1.154, allocations: 170.7 kB / 1.175 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/1.154, allocations: 93.72 kB / 1.175 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.949e-05/1.155, allocations: 1.938 kB / 1.175 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004088/1.155, allocations: 197.6 kB / 1.175 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 2.033e-06/1.155, allocations: 0 / 1.175 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.004281/1.159, allocations: 0.8571 MB / 1.176 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/1.159, allocations: 80.64 kB / 1.176 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/1.16, allocations: 350 kB / 1.176 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/1.16, allocations: 35.92 kB / 1.176 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/1.16, allocations: 145.1 kB / 1.176 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/1.16, allocations: 63.34 kB / 1.176 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/1.16, allocations: 87.81 kB / 1.176 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.16, allocations: 346.7 kB / 1.177 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003295/1.161, allocations: 136.7 kB / 1.177 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/1.161, allocations: 214.5 kB / 1.177 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/1.162, allocations: 345.2 kB / 1.177 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.162, allocations: 1.125 kB / 1.177 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004197/1.166, allocations: 0.8586 MB / 1.178 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.166, allocations: 41.75 kB / 1.178 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.166, allocations: 1.125 kB / 1.178 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/1.167, allocations: 197.3 kB / 1.178 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/1.168, allocations: 40.5 kB / 1.179 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/1.171, allocations: 2.34 MB / 1.181 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/1.172, allocations: 51.2 kB / 1.181 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-05/1.172, allocations: 17.12 kB / 1.181 GB, free: 9.695 MB / 0.8887 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.0003442/1.172, allocations: 192.4 kB / 1.181 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/1.173, allocations: 29.38 kB / 1.181 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/1.173, allocations: 31.42 kB / 1.181 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.173, allocations: 1.375 kB / 1.181 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.173, allocations: 5.312 kB / 1.181 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.173, allocations: 3.938 kB / 1.181 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/1.176, allocations: 1.044 MB / 1.182 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/1.176, allocations: 0 / 1.182 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/1.176, allocations: 5.25 kB / 1.182 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/1.177, allocations: 112 kB / 1.182 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/1.177, allocations: 11.55 kB / 1.182 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009735/1.178, allocations: 0.7471 MB / 1.183 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.178, allocations: 1.156 kB / 1.183 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/1.181, allocations: 0.883 MB / 1.184 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/1.181, allocations: 134.1 kB / 1.184 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.543e-05/1.181, allocations: 7.312 kB / 1.184 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/1.182, allocations: 12.11 kB / 1.184 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/1.182, allocations: 12.73 kB / 1.184 GB, free: 7.332 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/1.182, allocations: 13.95 kB / 1.184 GB, free: 7.324 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003661/1.182, allocations: 241.8 kB / 1.184 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.068e-05/1.182, allocations: 0 / 1.184 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006752/1.183, allocations: 111.5 kB / 1.184 GB, free: 7.152 MB / 0.8887 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.0004734/1.183, allocations: 190.6 kB / 1.185 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001712/1.185, allocations: 0.573 MB / 1.185 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.185, allocations: 0 / 1.185 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007563/1.186, allocations: 256.9 kB / 1.185 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/1.186, allocations: 58.7 kB / 1.185 GB, free: 6.453 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/1.188, allocations: 0.605 MB / 1.186 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/1.188, allocations: 0.7585 MB / 1.187 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000186/1.188, allocations: 28.94 kB / 1.187 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/1.188, allocations: 23.73 kB / 1.187 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of SimCode: time 4.51e-07/1.189, allocations: 4 kB / 1.187 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of Templates: time 0.01536/1.204, allocations: 7.196 MB / 1.194 GB, free: 1.695 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches