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.001919/0.001918, allocations: 102.2 kB / 16.27 MB, free: 6 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.001747/0.001747, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 469.4 MB / 0.7426 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 62.31 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3191, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003993/0.3232, allocations: 2.378 MB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7172/1.04, allocations: 151 MB / 1.214 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/1.041, allocations: 2.25 kB / 1.214 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003643/1.041, allocations: 90.11 kB / 1.214 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000734/1.042, allocations: 243.7 kB / 1.214 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/1.044, allocations: 0.6466 MB / 1.215 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005706/1.044, allocations: 444.4 kB / 1.215 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/1.044, allocations: 49.88 kB / 1.215 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/1.045, allocations: 176.1 kB / 1.216 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/1.045, allocations: 203.8 kB / 1.216 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.369e-05/1.045, allocations: 29.38 kB / 1.216 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/1.046, allocations: 0.6262 MB / 1.216 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/1.046, allocations: 83.25 kB / 1.216 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/1.047, allocations: 163.8 kB / 1.217 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009451/1.048, allocations: 0.6481 MB / 1.217 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.048, allocations: 0 / 1.217 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/1.048, allocations: 1.375 kB / 1.217 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.048, allocations: 0 / 1.217 GB, free: 9.227 MB / 0.9356 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.001496/1.049, allocations: 0.7412 MB / 1.218 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.049, allocations: 16.98 kB / 1.218 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/1.051, allocations: 151.8 kB / 1.218 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004496/1.051, allocations: 311.9 kB / 1.218 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-05/1.051, allocations: 50.28 kB / 1.219 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/1.051, allocations: 21.19 kB / 1.219 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/1.052, allocations: 209.4 kB / 1.219 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.052, allocations: 0 / 1.219 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/1.052, allocations: 6.656 kB / 1.219 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/1.052, allocations: 10.52 kB / 1.219 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/1.052, allocations: 115.6 kB / 1.219 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/1.055, allocations: 0.9947 MB / 1.22 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/1.055, allocations: 162.2 kB / 1.22 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/1.056, allocations: 94.31 kB / 1.22 GB, free: 7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/1.056, allocations: 9.359 kB / 1.22 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004428/1.056, allocations: 188.7 kB / 1.22 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/1.056, allocations: 0 / 1.22 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.004156/1.06, allocations: 0.8606 MB / 1.221 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/1.06, allocations: 81.11 kB / 1.221 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/1.061, allocations: 345.5 kB / 1.222 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/1.061, allocations: 31.89 kB / 1.222 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/1.061, allocations: 145.8 kB / 1.222 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/1.061, allocations: 63.03 kB / 1.222 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/1.061, allocations: 84.66 kB / 1.222 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.061, allocations: 345.8 kB / 1.222 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/1.062, allocations: 141.8 kB / 1.222 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/1.062, allocations: 222.7 kB / 1.223 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/1.063, allocations: 345.4 kB / 1.223 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.063, allocations: 0 / 1.223 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003593/1.067, allocations: 0.8471 MB / 1.224 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/1.067, allocations: 43.25 kB / 1.224 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.067, allocations: 2.594 kB / 1.224 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009048/1.067, allocations: 193.1 kB / 1.224 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/1.068, allocations: 41.34 kB / 1.224 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/1.071, allocations: 2.352 MB / 1.226 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/1.071, allocations: 47.42 kB / 1.226 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/1.071, allocations: 17.17 kB / 1.226 GB, free: 2.102 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.0002729/1.072, allocations: 192.3 kB / 1.226 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/1.072, allocations: 32.5 kB / 1.226 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/1.072, allocations: 24.89 kB / 1.227 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.072, allocations: 2.406 kB / 1.227 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/1.072, allocations: 0 / 1.227 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.072, allocations: 7.922 kB / 1.227 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/1.075, allocations: 1.039 MB / 1.228 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/1.075, allocations: 0 / 1.228 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/1.075, allocations: 9.984 kB / 1.228 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/1.075, allocations: 113 kB / 1.228 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/1.075, allocations: 11.55 kB / 1.228 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009027/1.076, allocations: 0.7526 MB / 1.228 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.076, allocations: 1.125 kB / 1.228 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/1.079, allocations: 0.874 MB / 1.229 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/1.08, allocations: 140.6 kB / 1.229 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/1.08, allocations: 8 kB / 1.229 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/1.08, allocations: 16.05 kB / 1.229 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/1.08, allocations: 11.98 kB / 1.229 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/1.08, allocations: 4 kB / 1.229 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003059/1.08, allocations: 243 kB / 1.23 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.08, allocations: 0 / 1.23 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005536/1.081, allocations: 108 kB / 1.23 GB, free: 15.26 MB / 0.9512 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.0003599/1.081, allocations: 192.3 kB / 1.23 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001589/1.083, allocations: 0.5697 MB / 1.231 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.083, allocations: 192 / 1.231 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007457/1.084, allocations: 260.1 kB / 1.231 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/1.084, allocations: 78.5 kB / 1.231 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/1.086, allocations: 0.6334 MB / 1.231 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/1.086, allocations: 0.7638 MB / 1.232 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/1.086, allocations: 23.42 kB / 1.232 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/1.086, allocations: 0 / 1.232 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of Templates: time 0.009323/1.095, allocations: 6.511 MB / 1.239 GB, free: 6.172 MB / 0.9512 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