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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001759/0.001759, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001891/0.001891, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.828/2.828, allocations: 437 MB / 0.71 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 59.91 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7665, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004759/0.7713, allocations: 2.432 MB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.2154/0.9867, allocations: 148.7 MB / 1.164 GB, free: 11.08 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.9872, allocations: 11.94 kB / 1.164 GB, free: 11.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.9878, allocations: 83.61 kB / 1.164 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.989, allocations: 210.9 kB / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.9912, allocations: 0.5835 MB / 1.165 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007232/0.9919, allocations: 414.6 kB / 1.166 GB, free: 9.801 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.9921, allocations: 48.67 kB / 1.166 GB, free: 9.754 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004721/0.9926, allocations: 163.4 kB / 1.166 GB, free: 9.594 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005323/0.9931, allocations: 195.3 kB / 1.166 GB, free: 9.402 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.9932, allocations: 20 kB / 1.166 GB, free: 9.383 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.995, allocations: 0.6706 MB / 1.167 GB, free: 8.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.9952, allocations: 71.73 kB / 1.167 GB, free: 8.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.9955, allocations: 163.2 kB / 1.167 GB, free: 8.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.997, allocations: 0.6505 MB / 1.167 GB, free: 7.828 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.997, allocations: 0 / 1.167 GB, free: 7.828 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.393e-06/0.997, allocations: 0 / 1.167 GB, free: 7.828 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.997, allocations: 4 kB / 1.167 GB, free: 7.824 MB / 0.92 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.002043/0.9991, allocations: 0.7339 MB / 1.168 GB, free: 7.035 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.9991, allocations: 15.97 kB / 1.168 GB, free: 7.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/1.001, allocations: 156.4 kB / 1.168 GB, free: 6.867 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/1.002, allocations: 322.7 kB / 1.169 GB, free: 6.512 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/1.002, allocations: 45.7 kB / 1.169 GB, free: 6.461 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/1.002, allocations: 19.98 kB / 1.169 GB, free: 6.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/1.003, allocations: 200.1 kB / 1.169 GB, free: 6.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.003, allocations: 7.938 kB / 1.169 GB, free: 6.223 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/1.003, allocations: 8 kB / 1.169 GB, free: 6.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/1.003, allocations: 0 / 1.169 GB, free: 6.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/1.003, allocations: 116.2 kB / 1.169 GB, free: 6.102 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/1.006, allocations: 0.9925 MB / 1.17 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008466/1.007, allocations: 158.4 kB / 1.17 GB, free: 4.887 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/1.007, allocations: 100.8 kB / 1.17 GB, free: 4.785 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/1.007, allocations: 3.938 kB / 1.17 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004999/1.007, allocations: 199.3 kB / 1.17 GB, free: 4.57 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 2.265e-06/1.008, allocations: 0 / 1.17 GB, free: 4.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004598/1.012, allocations: 0.8556 MB / 1.171 GB, free: 3.68 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/1.012, allocations: 93.03 kB / 1.171 GB, free: 3.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000534/1.013, allocations: 344.4 kB / 1.172 GB, free: 3.223 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-05/1.013, allocations: 33.7 kB / 1.172 GB, free: 3.184 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/1.013, allocations: 144.7 kB / 1.172 GB, free: 3.039 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/1.013, allocations: 59.19 kB / 1.172 GB, free: 2.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/1.013, allocations: 89.84 kB / 1.172 GB, free: 2.887 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001605/1.013, allocations: 342.8 kB / 1.172 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/1.014, allocations: 140.5 kB / 1.172 GB, free: 2.406 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/1.014, allocations: 213.4 kB / 1.173 GB, free: 2.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/1.015, allocations: 344.8 kB / 1.173 GB, free: 1.82 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.015, allocations: 0 / 1.173 GB, free: 1.82 MB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004257/1.019, allocations: 0.856 MB / 1.174 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.109e-05/1.02, allocations: 37.7 kB / 1.174 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.02, allocations: 3.984 kB / 1.174 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/1.021, allocations: 205.7 kB / 1.174 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/1.021, allocations: 39.91 kB / 1.174 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00367/1.025, allocations: 2.237 MB / 1.176 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/1.025, allocations: 39.67 kB / 1.176 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/1.025, allocations: 23.97 kB / 1.176 GB, free: 14.19 MB / 0.9356 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.0003532/1.026, allocations: 188.3 kB / 1.177 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/1.026, allocations: 27.62 kB / 1.177 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/1.026, allocations: 35.11 kB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.026, allocations: 4 kB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/1.026, allocations: 0 / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/1.026, allocations: 0 / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/1.03, allocations: 1.045 MB / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.03, allocations: 0 / 1.178 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/1.03, allocations: 8 kB / 1.178 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003649/1.03, allocations: 116.7 kB / 1.178 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/1.03, allocations: 8 kB / 1.178 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/1.031, allocations: 0.7536 MB / 1.178 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.031, allocations: 0 / 1.178 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/1.035, allocations: 0.8683 MB / 1.179 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/1.035, allocations: 132.7 kB / 1.179 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.804e-05/1.035, allocations: 11.94 kB / 1.179 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/1.035, allocations: 19.92 kB / 1.179 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/1.035, allocations: 7.984 kB / 1.179 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/1.035, allocations: 7.984 kB / 1.179 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003881/1.036, allocations: 243.1 kB / 1.18 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/1.036, allocations: 0 / 1.18 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006259/1.037, allocations: 116 kB / 1.18 GB, free: 10.46 MB / 0.9356 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.0004607/1.037, allocations: 191.5 kB / 1.18 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001877/1.039, allocations: 0.5535 MB / 1.181 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.039, allocations: 0 / 1.181 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008459/1.04, allocations: 244.2 kB / 1.181 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/1.04, allocations: 71.45 kB / 1.181 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/1.042, allocations: 0.6805 MB / 1.182 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/1.042, allocations: 0.7638 MB / 1.182 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000195/1.043, allocations: 30.22 kB / 1.182 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/1.043, allocations: 23.42 kB / 1.182 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/1.043, allocations: 0 / 1.182 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of Templates: time 0.01548/1.058, allocations: 6.865 MB / 1.189 GB, free: 1.016 MB / 0.9356 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=400 -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/jenkins/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