Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001537/0.001537, allocations: 104.7 kB / 15.99 MB, free: 5.895 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.001491/0.001491, allocations: 191.7 kB / 16.91 MB, free: 5.746 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.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.582/2.582, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.001871, allocations: 73.22 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3375, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004317/0.3419, allocations: 2.442 MB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7406/1.083, allocations: 148.8 MB / 1.212 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/1.083, allocations: 2.344 kB / 1.212 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004202/1.083, allocations: 78.66 kB / 1.212 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000864/1.084, allocations: 212.7 kB / 1.212 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/1.086, allocations: 0.6034 MB / 1.213 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006725/1.087, allocations: 448.8 kB / 1.213 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/1.087, allocations: 41.8 kB / 1.213 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/1.087, allocations: 179.5 kB / 1.213 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/1.088, allocations: 200.3 kB / 1.214 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.169e-05/1.088, allocations: 29.72 kB / 1.214 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/1.089, allocations: 0.649 MB / 1.214 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/1.089, allocations: 81.94 kB / 1.214 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/1.089, allocations: 173.8 kB / 1.214 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008003/1.09, allocations: 478.9 kB / 1.215 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.09, allocations: 0 / 1.215 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/1.09, allocations: 3.938 kB / 1.215 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.392e-05/1.09, allocations: 0 / 1.215 GB, free: 11.3 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.001887/1.092, allocations: 0.7497 MB / 1.216 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.092, allocations: 10.16 kB / 1.216 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/1.094, allocations: 158.5 kB / 1.216 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/1.094, allocations: 307.5 kB / 1.216 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/1.094, allocations: 46.67 kB / 1.216 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/1.095, allocations: 25.19 kB / 1.216 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/1.095, allocations: 207.6 kB / 1.216 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.095, allocations: 4 kB / 1.216 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/1.095, allocations: 6.469 kB / 1.216 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.095, allocations: 3.344 kB / 1.216 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/1.095, allocations: 120.5 kB / 1.216 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/1.098, allocations: 0.9926 MB / 1.217 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000795/1.099, allocations: 162.2 kB / 1.218 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/1.099, allocations: 98.31 kB / 1.218 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/1.099, allocations: 1.375 kB / 1.218 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004199/1.099, allocations: 189.8 kB / 1.218 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/1.099, allocations: 0 / 1.218 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19): time 0.004287/1.104, allocations: 0.8571 MB / 1.219 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/1.104, allocations: 92.73 kB / 1.219 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/1.104, allocations: 345.1 kB / 1.219 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/1.104, allocations: 32.61 kB / 1.219 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/1.104, allocations: 146.1 kB / 1.219 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.437e-05/1.104, allocations: 66.11 kB / 1.219 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/1.105, allocations: 85.47 kB / 1.219 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.105, allocations: 342 kB / 1.22 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/1.105, allocations: 140.9 kB / 1.22 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/1.106, allocations: 213.6 kB / 1.22 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/1.106, allocations: 351.1 kB / 1.22 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.106, allocations: 0 / 1.22 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003665/1.11, allocations: 0.8499 MB / 1.221 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/1.11, allocations: 37.64 kB / 1.221 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.11, allocations: 2.75 kB / 1.221 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008922/1.111, allocations: 198.3 kB / 1.222 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/1.111, allocations: 40.59 kB / 1.222 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/1.114, allocations: 2.348 MB / 1.224 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005414/1.115, allocations: 47.77 kB / 1.224 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/1.115, allocations: 18.75 kB / 1.224 GB, free: 4.168 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.0002819/1.115, allocations: 198.8 kB / 1.224 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/1.115, allocations: 31.38 kB / 1.224 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/1.116, allocations: 26.95 kB / 1.224 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.116, allocations: 0 / 1.224 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/1.116, allocations: 2.875 kB / 1.224 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.116, allocations: 3.938 kB / 1.224 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/1.119, allocations: 1.044 MB / 1.225 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.119, allocations: 0.75 kB / 1.225 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/1.119, allocations: 4.969 kB / 1.225 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/1.119, allocations: 112.1 kB / 1.225 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/1.119, allocations: 9.156 kB / 1.225 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009854/1.12, allocations: 0.7587 MB / 1.226 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.12, allocations: 0.875 kB / 1.226 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/1.124, allocations: 0.8672 MB / 1.227 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/1.124, allocations: 136.7 kB / 1.227 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/1.124, allocations: 12.7 kB / 1.227 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/1.124, allocations: 6.812 kB / 1.227 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/1.124, allocations: 16.89 kB / 1.227 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/1.124, allocations: 10.39 kB / 1.227 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003355/1.125, allocations: 239.2 kB / 1.227 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.014e-06/1.125, allocations: 0 / 1.227 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005781/1.125, allocations: 119.9 kB / 1.227 GB, free: 1.449 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.0003857/1.126, allocations: 175.2 kB / 1.228 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.127, allocations: 0.5788 MB / 1.228 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.127, allocations: 0 / 1.228 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007971/1.128, allocations: 260.1 kB / 1.228 GB, free: 404 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/1.129, allocations: 64.94 kB / 1.228 GB, free: 340 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/1.13, allocations: 0.7053 MB / 1.229 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/1.131, allocations: 0.7638 MB / 1.23 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/1.131, allocations: 19.44 kB / 1.23 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/1.131, allocations: 0 / 1.23 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of Templates: time 0.01019/1.141, allocations: 6.509 MB / 1.236 GB, free: 8.309 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches