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.001528/0.001528, allocations: 105 kB / 16.41 MB, free: 6.465 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.001703/0.001703, allocations: 187 kB / 17.34 MB, free: 5.719 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 469.4 MB / 0.7428 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 71.81 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9927/0.9944, allocations: 159.1 MB / 1.221 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00467/0.9991, allocations: 2.377 MB / 1.223 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.186/1.185, allocations: 151 MB / 1.371 GB, free: 8.48 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003546/1.186, allocations: 4 kB / 1.371 GB, free: 8.477 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/1.186, allocations: 95.42 kB / 1.371 GB, free: 8.383 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001072/1.187, allocations: 242.5 kB / 1.371 GB, free: 8.145 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/1.189, allocations: 0.6604 MB / 1.372 GB, free: 7.492 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008185/1.19, allocations: 434.6 kB / 1.372 GB, free: 7.066 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/1.19, allocations: 52.72 kB / 1.372 GB, free: 7.016 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/1.191, allocations: 183.4 kB / 1.372 GB, free: 6.836 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/1.191, allocations: 207.3 kB / 1.372 GB, free: 6.633 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/1.191, allocations: 28 kB / 1.373 GB, free: 6.605 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/1.193, allocations: 0.6278 MB / 1.373 GB, free: 5.977 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/1.193, allocations: 83.72 kB / 1.373 GB, free: 5.895 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/1.193, allocations: 163.2 kB / 1.373 GB, free: 5.734 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/1.195, allocations: 0.6564 MB / 1.374 GB, free: 5.078 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.195, allocations: 4 kB / 1.374 GB, free: 5.074 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.673e-06/1.195, allocations: 0 / 1.374 GB, free: 5.074 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.995e-05/1.195, allocations: 0 / 1.374 GB, free: 5.074 MB / 1.092 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.001949/1.197, allocations: 0.7454 MB / 1.375 GB, free: 4.273 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.197, allocations: 12.62 kB / 1.375 GB, free: 4.262 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/1.199, allocations: 160.4 kB / 1.375 GB, free: 4.105 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000631/1.199, allocations: 314.7 kB / 1.375 GB, free: 3.758 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/1.2, allocations: 45.7 kB / 1.375 GB, free: 3.707 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.763e-05/1.2, allocations: 20 kB / 1.375 GB, free: 3.688 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/1.2, allocations: 216.1 kB / 1.375 GB, free: 3.461 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.2, allocations: 0 / 1.375 GB, free: 3.461 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/1.2, allocations: 4 kB / 1.375 GB, free: 3.457 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.2, allocations: 4 kB / 1.375 GB, free: 3.453 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/1.201, allocations: 120.2 kB / 1.376 GB, free: 3.336 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/1.203, allocations: 0.9963 MB / 1.377 GB, free: 2.281 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008049/1.204, allocations: 158.5 kB / 1.377 GB, free: 2.117 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/1.204, allocations: 96.81 kB / 1.377 GB, free: 2.02 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/1.204, allocations: 4 kB / 1.377 GB, free: 2.016 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004521/1.205, allocations: 191.2 kB / 1.377 GB, free: 1.812 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 4.378e-06/1.205, allocations: 4 kB / 1.377 GB, free: 1.809 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.004319/1.209, allocations: 0.8636 MB / 1.378 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/1.209, allocations: 85.11 kB / 1.378 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/1.21, allocations: 340.4 kB / 1.378 GB, free: 476 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/1.21, allocations: 33.7 kB / 1.378 GB, free: 436 kB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/1.21, allocations: 152.6 kB / 1.378 GB, free: 280 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/1.21, allocations: 59.19 kB / 1.378 GB, free: 220 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/1.21, allocations: 81.94 kB / 1.379 GB, free: 128 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.21, allocations: 346.8 kB / 1.379 GB, free: 15.78 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/1.211, allocations: 136.5 kB / 1.379 GB, free: 15.64 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/1.211, allocations: 221.3 kB / 1.379 GB, free: 15.41 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/1.212, allocations: 344.9 kB / 1.38 GB, free: 15.05 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.212, allocations: 0 / 1.38 GB, free: 15.05 MB / 1.107 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00373/1.216, allocations: 0.8568 MB / 1.38 GB, free: 14.18 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/1.216, allocations: 33.7 kB / 1.38 GB, free: 14.14 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.216, allocations: 0 / 1.38 GB, free: 14.14 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009156/1.217, allocations: 197.6 kB / 1.381 GB, free: 13.94 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/1.217, allocations: 39.91 kB / 1.381 GB, free: 13.9 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/1.22, allocations: 2.345 MB / 1.383 GB, free: 11.39 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/1.221, allocations: 51.45 kB / 1.383 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/1.221, allocations: 23.97 kB / 1.383 GB, free: 11.31 MB / 1.107 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.0002845/1.221, allocations: 191.6 kB / 1.383 GB, free: 11.11 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.057e-05/1.221, allocations: 27.62 kB / 1.383 GB, free: 11.09 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/1.221, allocations: 27.17 kB / 1.383 GB, free: 11.06 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.221, allocations: 4 kB / 1.383 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.221, allocations: 0 / 1.383 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.221, allocations: 3.938 kB / 1.383 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/1.225, allocations: 1.041 MB / 1.384 GB, free: 9.945 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.225, allocations: 3.938 kB / 1.384 GB, free: 9.941 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/1.225, allocations: 8 kB / 1.384 GB, free: 9.934 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003045/1.225, allocations: 112.8 kB / 1.384 GB, free: 9.82 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/1.225, allocations: 11.94 kB / 1.384 GB, free: 9.809 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/1.226, allocations: 0.7499 MB / 1.385 GB, free: 9.035 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.226, allocations: 0 / 1.385 GB, free: 9.035 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/1.229, allocations: 0.8751 MB / 1.386 GB, free: 8.137 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/1.229, allocations: 128.7 kB / 1.386 GB, free: 7.992 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/1.229, allocations: 11.98 kB / 1.386 GB, free: 7.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/1.23, allocations: 12 kB / 1.386 GB, free: 7.969 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/1.23, allocations: 12.05 kB / 1.386 GB, free: 7.957 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/1.23, allocations: 7.984 kB / 1.386 GB, free: 7.949 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00032/1.23, allocations: 239 kB / 1.386 GB, free: 7.719 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.91e-07/1.23, allocations: 0 / 1.386 GB, free: 7.719 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005725/1.231, allocations: 116 kB / 1.386 GB, free: 7.605 MB / 1.107 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.0004359/1.231, allocations: 184.8 kB / 1.387 GB, free: 7.414 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001685/1.233, allocations: 0.5729 MB / 1.387 GB, free: 6.812 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.233, allocations: 0 / 1.387 GB, free: 6.812 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0007438/1.234, allocations: 256.2 kB / 1.387 GB, free: 6.547 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/1.234, allocations: 73 kB / 1.388 GB, free: 6.469 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/1.236, allocations: 0.6351 MB / 1.388 GB, free: 5.809 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/1.236, allocations: 0.7638 MB / 1.389 GB, free: 5.02 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/1.236, allocations: 19.44 kB / 1.389 GB, free: 5.004 MB / 1.107 GB Notification: Performance of SimCode: time 5.41e-07/1.236, allocations: 4 kB / 1.389 GB, free: 5 MB / 1.107 GB Notification: Performance of Templates: time 0.01127/1.247, allocations: 6.52 MB / 1.395 GB, free: 14.51 MB / 1.123 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