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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001554/0.001554, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001564/0.001564, allocations: 191 kB / 17.29 MB, free: 5.516 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 442.5 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 74.83 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3781, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00477/0.3829, allocations: 2.405 MB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.9434/1.326, allocations: 151 MB / 1.176 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/1.327, allocations: 2.656 kB / 1.176 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003964/1.327, allocations: 89.38 kB / 1.177 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0008089/1.328, allocations: 239.1 kB / 1.177 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/1.33, allocations: 0.6564 MB / 1.177 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006151/1.33, allocations: 439.8 kB / 1.178 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/1.331, allocations: 54.2 kB / 1.178 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/1.331, allocations: 178 kB / 1.178 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003591/1.331, allocations: 201 kB / 1.178 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/1.331, allocations: 29.91 kB / 1.178 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/1.333, allocations: 0.6284 MB / 1.179 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/1.333, allocations: 79.36 kB / 1.179 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/1.333, allocations: 165.2 kB / 1.179 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/1.334, allocations: 0.6583 MB / 1.18 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.334, allocations: 0 / 1.18 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.004e-06/1.334, allocations: 0 / 1.18 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.334, allocations: 0 / 1.18 GB, free: 6.746 MB / 0.8887 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.00173/1.336, allocations: 0.7383 MB / 1.181 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.336, allocations: 9.438 kB / 1.181 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/1.338, allocations: 163.1 kB / 1.181 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/1.338, allocations: 317.1 kB / 1.181 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-05/1.338, allocations: 45.33 kB / 1.181 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/1.338, allocations: 21.72 kB / 1.181 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/1.339, allocations: 205.6 kB / 1.181 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.339, allocations: 3.984 kB / 1.181 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/1.339, allocations: 10.53 kB / 1.181 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.339, allocations: 1.938 kB / 1.181 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/1.339, allocations: 124.1 kB / 1.181 GB, free: 5.484 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/1.342, allocations: 0.9936 MB / 1.182 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008129/1.343, allocations: 165.7 kB / 1.183 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/1.343, allocations: 99.19 kB / 1.183 GB, free: 4.512 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/1.343, allocations: 5.453 kB / 1.183 GB, free: 4.508 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/1.343, allocations: 185.7 kB / 1.183 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 1.933e-06/1.343, allocations: 4 kB / 1.183 GB, free: 4.363 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.004228/1.348, allocations: 0.8619 MB / 1.184 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/1.348, allocations: 88.09 kB / 1.184 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/1.348, allocations: 341.1 kB / 1.184 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/1.348, allocations: 37.16 kB / 1.184 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/1.348, allocations: 145.9 kB / 1.184 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.758e-05/1.348, allocations: 66.47 kB / 1.184 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.349, allocations: 88.53 kB / 1.184 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.349, allocations: 341.9 kB / 1.185 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/1.349, allocations: 144.9 kB / 1.185 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/1.349, allocations: 213.5 kB / 1.185 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/1.35, allocations: 342.2 kB / 1.185 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.35, allocations: 1.125 kB / 1.185 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003762/1.354, allocations: 0.853 MB / 1.186 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.176e-05/1.354, allocations: 34.48 kB / 1.186 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.354, allocations: 1.094 kB / 1.186 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000953/1.355, allocations: 201.1 kB / 1.186 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/1.355, allocations: 41.2 kB / 1.186 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003254/1.359, allocations: 2.332 MB / 1.189 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005382/1.359, allocations: 55.16 kB / 1.189 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/1.359, allocations: 20.27 kB / 1.189 GB, free: 15.61 MB / 0.9044 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.0002885/1.359, allocations: 183.4 kB / 1.189 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/1.36, allocations: 30.12 kB / 1.189 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/1.36, allocations: 35.34 kB / 1.189 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.36, allocations: 6.156 kB / 1.189 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/1.36, allocations: 0.875 kB / 1.189 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/1.36, allocations: 7.922 kB / 1.189 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/1.363, allocations: 1.035 MB / 1.19 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.363, allocations: 0 / 1.19 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/1.363, allocations: 6.875 kB / 1.19 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/1.363, allocations: 115.8 kB / 1.19 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/1.363, allocations: 10.67 kB / 1.19 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009214/1.364, allocations: 0.7473 MB / 1.191 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.364, allocations: 5.375 kB / 1.191 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/1.368, allocations: 0.8771 MB / 1.192 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/1.368, allocations: 139.2 kB / 1.192 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/1.368, allocations: 3.438 kB / 1.192 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/1.368, allocations: 15.36 kB / 1.192 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/1.368, allocations: 8.172 kB / 1.192 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/1.368, allocations: 10.47 kB / 1.192 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003279/1.369, allocations: 233.7 kB / 1.192 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/1.369, allocations: 11.94 kB / 1.192 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006119/1.369, allocations: 116.1 kB / 1.192 GB, free: 13.07 MB / 0.9044 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.0004017/1.37, allocations: 182.9 kB / 1.192 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00158/1.371, allocations: 0.5755 MB / 1.193 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.371, allocations: 0 / 1.193 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008075/1.372, allocations: 252.1 kB / 1.193 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/1.373, allocations: 66.77 kB / 1.193 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/1.374, allocations: 0.5928 MB / 1.194 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/1.374, allocations: 0.7703 MB / 1.195 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001517/1.375, allocations: 27.44 kB / 1.195 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/1.375, allocations: 24.2 kB / 1.195 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of SimCode: time 2.615e-06/1.375, allocations: 0 / 1.195 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.01325/1.388, allocations: 7.204 MB / 1.202 GB, free: 7.605 MB / 0.9044 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 -s cvode -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