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.001905/0.001905, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002339/0.002339, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.561/1.561, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.731/2.731, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001987, allocations: 67.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8166, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.005706/0.8223, allocations: 2.377 MB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.2153/1.038, allocations: 151 MB / 1.167 GB, free: 8.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003941/1.038, allocations: 3.938 kB / 1.167 GB, free: 8.578 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005335/1.039, allocations: 99.42 kB / 1.167 GB, free: 8.48 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001114/1.04, allocations: 238.6 kB / 1.167 GB, free: 8.246 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/1.042, allocations: 0.661 MB / 1.168 GB, free: 7.594 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008402/1.043, allocations: 430.6 kB / 1.168 GB, free: 7.172 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/1.043, allocations: 60.64 kB / 1.169 GB, free: 7.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/1.044, allocations: 179.4 kB / 1.169 GB, free: 6.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/1.044, allocations: 203.3 kB / 1.169 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/1.044, allocations: 31.98 kB / 1.169 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/1.046, allocations: 0.6123 MB / 1.169 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/1.046, allocations: 91.66 kB / 1.17 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002881/1.046, allocations: 159.2 kB / 1.17 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/1.048, allocations: 0.6428 MB / 1.17 GB, free: 5.203 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.048, allocations: 0 / 1.17 GB, free: 5.203 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/1.048, allocations: 0 / 1.17 GB, free: 5.203 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.989e-06/1.048, allocations: 0 / 1.17 GB, free: 5.203 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.001727/1.05, allocations: 0.7493 MB / 1.171 GB, free: 4.398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.05, allocations: 8.031 kB / 1.171 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/1.051, allocations: 160.4 kB / 1.171 GB, free: 4.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/1.052, allocations: 314.7 kB / 1.172 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/1.052, allocations: 45.69 kB / 1.172 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/1.052, allocations: 24 kB / 1.172 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/1.052, allocations: 204.1 kB / 1.172 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.053, allocations: 0 / 1.172 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/1.053, allocations: 0 / 1.172 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/1.053, allocations: 4 kB / 1.172 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/1.053, allocations: 125.3 kB / 1.172 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/1.055, allocations: 0.9964 MB / 1.173 GB, free: 2.418 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/1.056, allocations: 158.5 kB / 1.173 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/1.057, allocations: 104.8 kB / 1.173 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/1.057, allocations: 3.938 kB / 1.173 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/1.057, allocations: 189 kB / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 2.335e-06/1.057, allocations: 0 / 1.173 GB, free: 1.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004327/1.061, allocations: 0.8683 MB / 1.174 GB, free: 1.039 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/1.061, allocations: 81.11 kB / 1.174 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/1.062, allocations: 340.4 kB / 1.175 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/1.062, allocations: 37.7 kB / 1.175 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/1.062, allocations: 144.7 kB / 1.175 GB, free: 420 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.247e-05/1.062, allocations: 59.2 kB / 1.175 GB, free: 360 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/1.063, allocations: 89.84 kB / 1.175 GB, free: 264 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.063, allocations: 342.8 kB / 1.175 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/1.063, allocations: 140.5 kB / 1.175 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/1.064, allocations: 217.4 kB / 1.176 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/1.064, allocations: 336.9 kB / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.064, allocations: 0 / 1.176 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003857/1.068, allocations: 0.8599 MB / 1.177 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/1.068, allocations: 37.69 kB / 1.177 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.068, allocations: 12 kB / 1.177 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009921/1.069, allocations: 189.6 kB / 1.177 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/1.07, allocations: 39.97 kB / 1.177 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/1.073, allocations: 2.348 MB / 1.179 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/1.074, allocations: 51.59 kB / 1.179 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/1.074, allocations: 19.98 kB / 1.179 GB, free: 11.44 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.0003925/1.074, allocations: 181.5 kB / 1.18 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/1.074, allocations: 35.62 kB / 1.18 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/1.074, allocations: 31.17 kB / 1.18 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.074, allocations: 0 / 1.18 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.074, allocations: 0 / 1.18 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.074, allocations: 11.92 kB / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/1.078, allocations: 1.045 MB / 1.181 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.078, allocations: 0 / 1.181 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/1.078, allocations: 11.98 kB / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/1.079, allocations: 112.7 kB / 1.181 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/1.079, allocations: 19.92 kB / 1.181 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/1.08, allocations: 0.7458 MB / 1.182 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.08, allocations: 0 / 1.182 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/1.083, allocations: 0.8683 MB / 1.182 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/1.083, allocations: 136.8 kB / 1.182 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.33e-05/1.083, allocations: 8 kB / 1.182 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/1.084, allocations: 11.98 kB / 1.183 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/1.084, allocations: 15.91 kB / 1.183 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/1.084, allocations: 12 kB / 1.183 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003999/1.084, allocations: 239 kB / 1.183 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.084, allocations: 0 / 1.183 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006574/1.085, allocations: 108 kB / 1.183 GB, free: 7.719 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.0004644/1.085, allocations: 192.7 kB / 1.183 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001862/1.087, allocations: 0.5727 MB / 1.184 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.087, allocations: 0 / 1.184 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/1.088, allocations: 248.1 kB / 1.184 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005605/1.088, allocations: 71.03 kB / 1.184 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/1.09, allocations: 0.6193 MB / 1.185 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/1.091, allocations: 0.756 MB / 1.185 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002013/1.091, allocations: 30.23 kB / 1.185 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/1.091, allocations: 23.42 kB / 1.185 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/1.091, allocations: 4 kB / 1.185 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of Templates: time 0.0167/1.108, allocations: 7.187 MB / 1.192 GB, free: 14 MB / 0.9512 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