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.001345/0.001345, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001358/0.001358, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.494/1.494, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.624/2.624, allocations: 437.1 MB / 0.7111 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 66.61 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3362, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004882/0.3411, allocations: 2.383 MB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7207/1.062, allocations: 151 MB / 1.168 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/1.062, allocations: 6.75 kB / 1.168 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003708/1.062, allocations: 88.34 kB / 1.168 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0007733/1.063, allocations: 243.6 kB / 1.168 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001755/1.065, allocations: 0.6486 MB / 1.169 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0005728/1.066, allocations: 440 kB / 1.169 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/1.066, allocations: 44.89 kB / 1.169 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/1.066, allocations: 179.8 kB / 1.169 GB, free: 1.785 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/1.066, allocations: 203.4 kB / 1.17 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.477e-05/1.067, allocations: 29.19 kB / 1.17 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/1.068, allocations: 0.6263 MB / 1.17 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/1.068, allocations: 85.97 kB / 1.17 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002079/1.068, allocations: 165.2 kB / 1.17 GB, free: 1.363 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/1.07, allocations: 0.6504 MB / 1.171 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.07, allocations: 1 kB / 1.171 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.214e-06/1.07, allocations: 3.938 kB / 1.171 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.07, allocations: 0 / 1.171 GB, free: 1.129 MB / 0.8731 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.001858/1.071, allocations: 0.7373 MB / 1.172 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.072, allocations: 9.609 kB / 1.172 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/1.073, allocations: 163.5 kB / 1.172 GB, free: 0.5312 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/1.074, allocations: 310.6 kB / 1.172 GB, free: 272 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/1.074, allocations: 47.61 kB / 1.172 GB, free: 232 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/1.074, allocations: 17.38 kB / 1.172 GB, free: 228 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/1.074, allocations: 208.9 kB / 1.172 GB, free: 120 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.074, allocations: 3.938 kB / 1.172 GB, free: 116 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/1.074, allocations: 8.422 kB / 1.173 GB, free: 112 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.074, allocations: 3.562 kB / 1.173 GB, free: 112 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/1.075, allocations: 113.9 kB / 1.173 GB, free: 80 kB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/1.078, allocations: 1.005 MB / 1.174 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/1.079, allocations: 162 kB / 1.174 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/1.08, allocations: 98.34 kB / 1.174 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/1.08, allocations: 1.438 kB / 1.174 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004002/1.08, allocations: 194.7 kB / 1.174 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 2.043e-06/1.08, allocations: 3.938 kB / 1.174 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.004415/1.084, allocations: 0.8589 MB / 1.175 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/1.085, allocations: 80.8 kB / 1.175 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/1.085, allocations: 345 kB / 1.175 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000158/1.085, allocations: 36.98 kB / 1.175 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/1.086, allocations: 148.8 kB / 1.175 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/1.086, allocations: 54.89 kB / 1.176 GB, free: 14 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/1.086, allocations: 88.91 kB / 1.176 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002348/1.086, allocations: 349.5 kB / 1.176 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/1.087, allocations: 133.1 kB / 1.176 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005211/1.087, allocations: 214.4 kB / 1.176 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/1.088, allocations: 345.7 kB / 1.177 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.088, allocations: 1.062 kB / 1.177 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004036/1.092, allocations: 0.8617 MB / 1.177 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/1.092, allocations: 36.56 kB / 1.177 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.092, allocations: 1.375 kB / 1.177 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009695/1.093, allocations: 202 kB / 1.178 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/1.093, allocations: 40.78 kB / 1.178 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003516/1.097, allocations: 2.358 MB / 1.18 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/1.098, allocations: 47.11 kB / 1.18 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/1.098, allocations: 20.89 kB / 1.18 GB, free: 10.26 MB / 0.8887 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.00031/1.098, allocations: 187.6 kB / 1.18 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/1.098, allocations: 30.81 kB / 1.18 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/1.098, allocations: 31.64 kB / 1.18 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.098, allocations: 1.312 kB / 1.18 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.098, allocations: 0 / 1.18 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/1.098, allocations: 5.094 kB / 1.18 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/1.102, allocations: 1.036 MB / 1.181 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.102, allocations: 3.984 kB / 1.181 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/1.102, allocations: 6.25 kB / 1.181 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003344/1.102, allocations: 112 kB / 1.181 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/1.102, allocations: 15.77 kB / 1.181 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/1.103, allocations: 0.7474 MB / 1.182 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.103, allocations: 0 / 1.182 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003426/1.107, allocations: 0.8808 MB / 1.183 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/1.107, allocations: 133.1 kB / 1.183 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/1.107, allocations: 9 kB / 1.183 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/1.107, allocations: 14.7 kB / 1.183 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/1.107, allocations: 13.27 kB / 1.183 GB, free: 7.906 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/1.107, allocations: 13.83 kB / 1.183 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003606/1.108, allocations: 237.8 kB / 1.183 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/1.108, allocations: 0 / 1.183 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006241/1.108, allocations: 107.2 kB / 1.184 GB, free: 7.734 MB / 0.8887 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.0003968/1.109, allocations: 192.5 kB / 1.184 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001756/1.111, allocations: 0.5711 MB / 1.184 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.111, allocations: 0 / 1.184 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007857/1.111, allocations: 256.9 kB / 1.185 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/1.112, allocations: 71.03 kB / 1.185 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/1.113, allocations: 0.6404 MB / 1.185 GB, free: 6.578 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/1.114, allocations: 0.7629 MB / 1.186 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.763e-05/1.114, allocations: 24.42 kB / 1.186 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of SimCode: time 5.91e-07/1.114, allocations: 3.938 kB / 1.186 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of Templates: time 0.01213/1.126, allocations: 6.5 MB / 1.192 GB, free: 2.418 MB / 0.8887 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/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