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.001196/0.001196, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001143/0.001143, allocations: 187 kB / 17.34 MB, free: 5.715 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.425/1.425, 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.1-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 64.11 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9011/0.9025, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004299/0.9068, allocations: 2.387 MB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1615/1.068, allocations: 151 MB / 1.317 GB, free: 9.887 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/1.069, allocations: 4 kB / 1.317 GB, free: 9.883 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003862/1.069, allocations: 95.42 kB / 1.317 GB, free: 9.789 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008147/1.07, allocations: 246.5 kB / 1.317 GB, free: 9.547 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/1.072, allocations: 0.6683 MB / 1.318 GB, free: 8.887 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005928/1.072, allocations: 442.5 kB / 1.318 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/1.072, allocations: 44.73 kB / 1.319 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/1.073, allocations: 179.4 kB / 1.319 GB, free: 8.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/1.073, allocations: 199.3 kB / 1.319 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/1.073, allocations: 35.94 kB / 1.319 GB, free: 8.008 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/1.074, allocations: 0.6356 MB / 1.32 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/1.075, allocations: 83.72 kB / 1.32 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/1.075, allocations: 159.2 kB / 1.32 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/1.076, allocations: 0.6525 MB / 1.32 GB, free: 6.48 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.076, allocations: 4 kB / 1.32 GB, free: 6.477 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.803e-06/1.076, allocations: 0 / 1.32 GB, free: 6.477 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.11e-05/1.076, allocations: 0 / 1.32 GB, free: 6.477 MB / 1.045 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.001726/1.078, allocations: 0.7455 MB / 1.321 GB, free: 5.676 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/1.078, allocations: 12.62 kB / 1.321 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/1.079, allocations: 156.4 kB / 1.321 GB, free: 5.512 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/1.08, allocations: 318.6 kB / 1.322 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/1.08, allocations: 49.69 kB / 1.322 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/1.08, allocations: 20 kB / 1.322 GB, free: 5.086 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/1.081, allocations: 212.1 kB / 1.322 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.081, allocations: 0 / 1.322 GB, free: 4.863 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/1.081, allocations: 4 kB / 1.322 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/1.081, allocations: 4 kB / 1.322 GB, free: 4.855 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/1.081, allocations: 116.1 kB / 1.322 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/1.084, allocations: 0.9886 MB / 1.323 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/1.084, allocations: 170.4 kB / 1.323 GB, free: 3.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/1.085, allocations: 92.81 kB / 1.323 GB, free: 3.426 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/1.085, allocations: 8 kB / 1.323 GB, free: 3.418 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/1.085, allocations: 189 kB / 1.323 GB, free: 3.215 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 2.825e-06/1.085, allocations: 0 / 1.323 GB, free: 3.215 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.004409/1.09, allocations: 0.8634 MB / 1.324 GB, free: 2.316 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/1.09, allocations: 81.11 kB / 1.324 GB, free: 2.219 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/1.09, allocations: 344.4 kB / 1.325 GB, free: 1.871 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/1.09, allocations: 33.7 kB / 1.325 GB, free: 1.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/1.09, allocations: 152.6 kB / 1.325 GB, free: 1.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.943e-05/1.09, allocations: 55.2 kB / 1.325 GB, free: 1.625 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/1.091, allocations: 85.94 kB / 1.325 GB, free: 1.535 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.091, allocations: 346.7 kB / 1.325 GB, free: 1.188 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/1.091, allocations: 132.5 kB / 1.325 GB, free: 1.059 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/1.092, allocations: 221.4 kB / 1.326 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/1.092, allocations: 337.5 kB / 1.326 GB, free: 484 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.092, allocations: 4 kB / 1.326 GB, free: 480 kB / 1.045 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003862/1.096, allocations: 0.856 MB / 1.327 GB, free: 15.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/1.096, allocations: 41.69 kB / 1.327 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/1.096, allocations: 0 / 1.327 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/1.097, allocations: 193.6 kB / 1.327 GB, free: 15.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/1.097, allocations: 43.84 kB / 1.327 GB, free: 15.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/1.101, allocations: 2.345 MB / 1.329 GB, free: 12.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/1.101, allocations: 51.52 kB / 1.329 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/1.101, allocations: 19.92 kB / 1.329 GB, free: 12.73 MB / 1.061 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.0002817/1.102, allocations: 195.2 kB / 1.33 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.913e-05/1.102, allocations: 23.72 kB / 1.33 GB, free: 12.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/1.102, allocations: 27.17 kB / 1.33 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.102, allocations: 4 kB / 1.33 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.102, allocations: 4 kB / 1.33 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.102, allocations: 3.938 kB / 1.33 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/1.105, allocations: 1.049 MB / 1.331 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.105, allocations: 0 / 1.331 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/1.105, allocations: 8 kB / 1.331 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003284/1.106, allocations: 112.8 kB / 1.331 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/1.106, allocations: 15.92 kB / 1.331 GB, free: 11.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009914/1.107, allocations: 0.7458 MB / 1.332 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.107, allocations: 3.984 kB / 1.332 GB, free: 10.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00333/1.11, allocations: 0.8683 MB / 1.332 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/1.11, allocations: 132.7 kB / 1.333 GB, free: 9.395 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/1.11, allocations: 8 kB / 1.333 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/1.111, allocations: 12.05 kB / 1.333 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/1.111, allocations: 15.98 kB / 1.333 GB, free: 9.359 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/1.111, allocations: 7.984 kB / 1.333 GB, free: 9.352 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002984/1.111, allocations: 239 kB / 1.333 GB, free: 9.117 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.111, allocations: 0 / 1.333 GB, free: 9.117 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005493/1.112, allocations: 112 kB / 1.333 GB, free: 9.008 MB / 1.061 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.0003591/1.112, allocations: 183.1 kB / 1.333 GB, free: 8.816 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001623/1.114, allocations: 0.5724 MB / 1.334 GB, free: 8.219 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.114, allocations: 0 / 1.334 GB, free: 8.219 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007717/1.114, allocations: 268.1 kB / 1.334 GB, free: 7.941 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/1.115, allocations: 69.3 kB / 1.334 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/1.116, allocations: 0.6404 MB / 1.335 GB, free: 7.215 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/1.117, allocations: 0.7599 MB / 1.335 GB, free: 6.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/1.117, allocations: 27.42 kB / 1.335 GB, free: 6.402 MB / 1.061 GB Notification: Performance of SimCode: time 2.61e-07/1.117, allocations: 0 / 1.335 GB, free: 6.402 MB / 1.061 GB Notification: Performance of Templates: time 0.009787/1.126, allocations: 6.524 MB / 1.342 GB, free: 15.91 MB / 1.076 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 -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