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.001771/0.001778, allocations: 105.2 kB / 16.35 MB, free: 5.824 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.002023/0.002023, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.346/1.346, 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 11.0.0-master/package.mo): time 2.46/2.46, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 72.23 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3603, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004291/0.3646, allocations: 2.403 MB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8327/1.197, allocations: 151 MB / 1.176 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/1.198, allocations: 2.656 kB / 1.176 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000439/1.198, allocations: 93.28 kB / 1.177 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0009087/1.199, allocations: 243.9 kB / 1.177 GB, free: 8.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/1.201, allocations: 0.6445 MB / 1.177 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007033/1.202, allocations: 443.8 kB / 1.178 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/1.202, allocations: 50 kB / 1.178 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/1.202, allocations: 186.4 kB / 1.178 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/1.203, allocations: 195.9 kB / 1.178 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.491e-05/1.203, allocations: 30.56 kB / 1.178 GB, free: 7.727 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/1.204, allocations: 0.6239 MB / 1.179 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/1.205, allocations: 83.12 kB / 1.179 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002427/1.205, allocations: 172.7 kB / 1.179 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/1.206, allocations: 0.659 MB / 1.18 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/1.206, allocations: 0 / 1.18 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.214e-06/1.206, allocations: 0 / 1.18 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.206, allocations: 0 / 1.18 GB, free: 6.824 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.002055/1.208, allocations: 0.7337 MB / 1.181 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/1.208, allocations: 9.25 kB / 1.181 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/1.21, allocations: 168 kB / 1.181 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/1.211, allocations: 312.3 kB / 1.181 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.843e-05/1.211, allocations: 42.39 kB / 1.181 GB, free: 5.789 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/1.211, allocations: 22.22 kB / 1.181 GB, free: 5.781 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/1.211, allocations: 220.6 kB / 1.181 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.211, allocations: 0 / 1.181 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/1.211, allocations: 2.094 kB / 1.181 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.211, allocations: 3.219 kB / 1.181 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/1.212, allocations: 123 kB / 1.181 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/1.214, allocations: 0.9937 MB / 1.182 GB, free: 4.738 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008044/1.215, allocations: 162.7 kB / 1.183 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/1.215, allocations: 97.19 kB / 1.183 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/1.215, allocations: 2.188 kB / 1.183 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/1.216, allocations: 196.5 kB / 1.183 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/1.216, allocations: 0 / 1.183 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=19): time 0.00433/1.22, allocations: 0.8536 MB / 1.184 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.22, allocations: 88.69 kB / 1.184 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/1.221, allocations: 345.3 kB / 1.184 GB, free: 3.633 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/1.221, allocations: 35.73 kB / 1.184 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/1.221, allocations: 146 kB / 1.184 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/1.221, allocations: 60.53 kB / 1.184 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/1.221, allocations: 86.5 kB / 1.184 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.221, allocations: 342.5 kB / 1.185 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/1.222, allocations: 144.9 kB / 1.185 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/1.222, allocations: 214.5 kB / 1.185 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007399/1.223, allocations: 338.6 kB / 1.185 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.223, allocations: 0.9688 kB / 1.185 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003849/1.227, allocations: 0.8553 MB / 1.186 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.094e-05/1.227, allocations: 38.36 kB / 1.186 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.227, allocations: 1.219 kB / 1.186 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009528/1.228, allocations: 200.9 kB / 1.186 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/1.228, allocations: 42.61 kB / 1.186 GB, free: 2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/1.231, allocations: 2.341 MB / 1.189 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005469/1.232, allocations: 47.77 kB / 1.189 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/1.232, allocations: 23.75 kB / 1.189 GB, free: 15.7 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.0002661/1.232, allocations: 187.3 kB / 1.189 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.359e-05/1.232, allocations: 34.75 kB / 1.189 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/1.232, allocations: 31.2 kB / 1.189 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.232, allocations: 1.906 kB / 1.189 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.232, allocations: 0 / 1.189 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.232, allocations: 5.562 kB / 1.189 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/1.236, allocations: 1.038 MB / 1.19 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.236, allocations: 1.375 kB / 1.19 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/1.236, allocations: 5.5 kB / 1.19 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003213/1.236, allocations: 115.8 kB / 1.19 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/1.236, allocations: 8.125 kB / 1.19 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009425/1.237, allocations: 0.7585 MB / 1.191 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.237, allocations: 0 / 1.191 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/1.24, allocations: 0.8702 MB / 1.192 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/1.241, allocations: 134.6 kB / 1.192 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/1.241, allocations: 14.77 kB / 1.192 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/1.241, allocations: 8.25 kB / 1.192 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/1.241, allocations: 11.95 kB / 1.192 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/1.241, allocations: 14.02 kB / 1.192 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003531/1.241, allocations: 242.6 kB / 1.192 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.241, allocations: 0 / 1.192 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006388/1.242, allocations: 111.5 kB / 1.192 GB, free: 13.16 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.0004333/1.243, allocations: 190.4 kB / 1.192 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.244, allocations: 0.5714 MB / 1.193 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.244, allocations: 0 / 1.193 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000786/1.245, allocations: 260.3 kB / 1.193 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/1.246, allocations: 61.09 kB / 1.193 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/1.247, allocations: 0.5888 MB / 1.194 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/1.247, allocations: 0.762 MB / 1.195 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001788/1.248, allocations: 41.08 kB / 1.195 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/1.248, allocations: 28.05 kB / 1.195 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/1.248, allocations: 0 / 1.195 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.01717/1.265, allocations: 7.197 MB / 1.202 GB, free: 7.691 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 gbode -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