Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0018/0.0018, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.001939/0.001939, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 67.89 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9853/0.9868, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003965/0.9908, allocations: 2.383 MB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1759/1.167, allocations: 151 MB / 1.358 GB, free: 3.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/1.167, allocations: 0 / 1.358 GB, free: 3.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004206/1.167, allocations: 91.44 kB / 1.358 GB, free: 3.57 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007677/1.168, allocations: 238.5 kB / 1.359 GB, free: 3.336 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/1.17, allocations: 0.6525 MB / 1.359 GB, free: 2.691 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005513/1.171, allocations: 446.5 kB / 1.36 GB, free: 2.254 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/1.171, allocations: 44.72 kB / 1.36 GB, free: 2.211 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/1.171, allocations: 187.4 kB / 1.36 GB, free: 2.027 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/1.171, allocations: 199.3 kB / 1.36 GB, free: 1.832 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/1.171, allocations: 28 kB / 1.36 GB, free: 1.805 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/1.173, allocations: 0.6278 MB / 1.361 GB, free: 1.176 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/1.173, allocations: 83.72 kB / 1.361 GB, free: 1.094 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001577/1.173, allocations: 163.2 kB / 1.361 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008799/1.174, allocations: 0.6525 MB / 1.362 GB, free: 288 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.174, allocations: 0 / 1.362 GB, free: 288 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.582e-06/1.174, allocations: 8 kB / 1.362 GB, free: 280 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.174, allocations: 0 / 1.362 GB, free: 280 kB / 1.076 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.001641/1.175, allocations: 0.7377 MB / 1.362 GB, free: 15.48 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.175, allocations: 8.031 kB / 1.362 GB, free: 15.47 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/1.177, allocations: 160.4 kB / 1.362 GB, free: 15.32 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/1.178, allocations: 326.6 kB / 1.363 GB, free: 14.96 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/1.178, allocations: 45.7 kB / 1.363 GB, free: 14.91 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/1.178, allocations: 20 kB / 1.363 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/1.178, allocations: 205.3 kB / 1.363 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.178, allocations: 0 / 1.363 GB, free: 14.68 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/1.178, allocations: 8 kB / 1.363 GB, free: 14.67 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.178, allocations: 8 kB / 1.363 GB, free: 14.66 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/1.179, allocations: 116.2 kB / 1.363 GB, free: 14.55 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/1.181, allocations: 0.9886 MB / 1.364 GB, free: 13.5 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/1.182, allocations: 162.5 kB / 1.364 GB, free: 13.33 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/1.182, allocations: 96.83 kB / 1.364 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/1.182, allocations: 3.984 kB / 1.364 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003665/1.182, allocations: 186.5 kB / 1.365 GB, free: 13.03 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/1.182, allocations: 0 / 1.365 GB, free: 13.03 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.004271/1.187, allocations: 0.8737 MB / 1.365 GB, free: 12.12 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/1.187, allocations: 81.11 kB / 1.365 GB, free: 12.03 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/1.187, allocations: 344.4 kB / 1.366 GB, free: 11.68 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/1.187, allocations: 29.7 kB / 1.366 GB, free: 11.64 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/1.188, allocations: 156.6 kB / 1.366 GB, free: 11.49 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/1.188, allocations: 55.2 kB / 1.366 GB, free: 11.43 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/1.188, allocations: 85.92 kB / 1.366 GB, free: 11.34 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.188, allocations: 342.8 kB / 1.366 GB, free: 11 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/1.188, allocations: 140.5 kB / 1.367 GB, free: 10.86 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/1.189, allocations: 217.4 kB / 1.367 GB, free: 10.63 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006645/1.19, allocations: 336.9 kB / 1.367 GB, free: 10.28 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.19, allocations: 4 kB / 1.367 GB, free: 10.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003747/1.193, allocations: 0.8607 MB / 1.368 GB, free: 9.395 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/1.193, allocations: 37.69 kB / 1.368 GB, free: 9.352 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.193, allocations: 4 kB / 1.368 GB, free: 9.348 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009941/1.194, allocations: 193.6 kB / 1.368 GB, free: 9.152 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/1.195, allocations: 43.91 kB / 1.368 GB, free: 9.109 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/1.198, allocations: 2.338 MB / 1.37 GB, free: 6.605 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005092/1.198, allocations: 51.52 kB / 1.371 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/1.198, allocations: 23.97 kB / 1.371 GB, free: 6.531 MB / 1.092 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.000292/1.199, allocations: 185.8 kB / 1.371 GB, free: 6.336 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/1.199, allocations: 27.72 kB / 1.371 GB, free: 6.309 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/1.199, allocations: 31.17 kB / 1.371 GB, free: 6.277 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.199, allocations: 0 / 1.371 GB, free: 6.277 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.199, allocations: 0 / 1.371 GB, free: 6.277 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/1.199, allocations: 152.5 kB / 1.371 GB, free: 6.109 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/1.199, allocations: 4 kB / 1.371 GB, free: 6.105 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/1.199, allocations: 8 kB / 1.371 GB, free: 6.098 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.282e-05/1.199, allocations: 19.95 kB / 1.371 GB, free: 6.078 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001033/1.2, allocations: 0.5064 MB / 1.371 GB, free: 5.543 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009492/1.201, allocations: 0.6097 MB / 1.372 GB, free: 4.91 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002306/1.202, allocations: 116 kB / 1.372 GB, free: 4.797 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003137/1.202, allocations: 239 kB / 1.372 GB, free: 4.566 MB / 1.092 GB Notification: Performance of Backend: time 1.012e-06/1.202, allocations: 4 kB / 1.372 GB, free: 4.562 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002345/1.204, allocations: 0.7241 MB / 1.373 GB, free: 3.801 MB / 1.092 GB Notification: Performance of SimCode: time 0.001342/1.206, allocations: 1.124 MB / 1.374 GB, free: 2.617 MB / 1.092 GB Notification: Performance of Templates: time 0.01719/1.223, allocations: 8.594 MB / 1.383 GB, free: 10.09 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches