Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002158/0.002158, allocations: 192.2 kB / 16.25 MB, free: 6.621 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6168, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004639/0.6215, allocations: 2.454 MB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.7821, allocations: 148.8 MB / 1.097 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.7824, allocations: 7.938 kB / 1.097 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.7828, allocations: 83.61 kB / 1.097 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007811/0.7837, allocations: 214.9 kB / 1.097 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.7853, allocations: 0.6078 MB / 1.098 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.7859, allocations: 426.6 kB / 1.098 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.786, allocations: 44.73 kB / 1.098 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.7863, allocations: 183.4 kB / 1.098 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.7867, allocations: 203.3 kB / 1.099 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.984e-05/0.7868, allocations: 32 kB / 1.099 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.788, allocations: 0.6395 MB / 1.099 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.7881, allocations: 87.72 kB / 1.099 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.7883, allocations: 171.2 kB / 1.099 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009839/0.7893, allocations: 0.6661 MB / 1.1 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7893, allocations: 4 kB / 1.1 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7893, allocations: 0 / 1.1 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.7893, allocations: 0 / 1.1 GB, free: 6.93 MB / 0.8575 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.001783/0.7911, allocations: 0.7299 MB / 1.101 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.7912, allocations: 8.031 kB / 1.101 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/0.7929, allocations: 164.4 kB / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.7934, allocations: 314.2 kB / 1.101 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.7935, allocations: 45.69 kB / 1.101 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.7936, allocations: 24 kB / 1.101 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.794, allocations: 208 kB / 1.102 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.7941, allocations: 8 kB / 1.102 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.7941, allocations: 0 / 1.102 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.7941, allocations: 4 kB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.7944, allocations: 124 kB / 1.102 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.7971, allocations: 0.9924 MB / 1.103 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.7979, allocations: 158.5 kB / 1.103 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.7981, allocations: 96.81 kB / 1.103 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.7982, allocations: 4 kB / 1.103 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004681/0.7986, allocations: 202.5 kB / 1.103 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.7987, allocations: 0 / 1.103 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.004632/0.8033, allocations: 0.861 MB / 1.104 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.8034, allocations: 85.11 kB / 1.104 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004264/0.8038, allocations: 344.4 kB / 1.104 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.8039, allocations: 33.7 kB / 1.104 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.804, allocations: 148.6 kB / 1.104 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.8041, allocations: 59.19 kB / 1.105 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.8042, allocations: 85.78 kB / 1.105 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8044, allocations: 354.7 kB / 1.105 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.8047, allocations: 136.5 kB / 1.105 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.8052, allocations: 221.3 kB / 1.105 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.8059, allocations: 332.7 kB / 1.106 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8059, allocations: 0 / 1.106 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004095/0.81, allocations: 0.864 MB / 1.106 GB, free: 40 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.8101, allocations: 41.75 kB / 1.106 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.8101, allocations: 4 kB / 1.106 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.8111, allocations: 193.6 kB / 1.107 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.8113, allocations: 47.91 kB / 1.107 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.8144, allocations: 2.339 MB / 1.109 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.815, allocations: 39.67 kB / 1.109 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.815, allocations: 19.98 kB / 1.109 GB, free: 13.18 MB / 0.8731 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.0002804/0.8153, allocations: 203.1 kB / 1.109 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.8154, allocations: 31.62 kB / 1.109 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.8155, allocations: 27.17 kB / 1.109 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.8155, allocations: 7.938 kB / 1.109 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.8155, allocations: 0 / 1.109 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.8155, allocations: 0 / 1.109 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.8192, allocations: 1.039 MB / 1.11 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8192, allocations: 0 / 1.11 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.657e-05/0.8192, allocations: 12 kB / 1.11 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/0.8196, allocations: 116.7 kB / 1.11 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.8196, allocations: 11.98 kB / 1.11 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009638/0.8206, allocations: 0.742 MB / 1.111 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8206, allocations: 0 / 1.111 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.8241, allocations: 0.8698 MB / 1.112 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.8243, allocations: 136.7 kB / 1.112 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.8243, allocations: 8 kB / 1.112 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.8246, allocations: 11.98 kB / 1.112 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.8247, allocations: 19.98 kB / 1.112 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.8247, allocations: 7.984 kB / 1.112 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004115/0.8252, allocations: 239 kB / 1.112 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8252, allocations: 0 / 1.112 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007316/0.8259, allocations: 115.9 kB / 1.113 GB, free: 9.453 MB / 0.8731 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.0003744/0.8263, allocations: 196 kB / 1.113 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.828, allocations: 0.5613 MB / 1.113 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8281, allocations: 4 kB / 1.113 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008233/0.8289, allocations: 252.1 kB / 1.114 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.8294, allocations: 60.94 kB / 1.114 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.8309, allocations: 0.687 MB / 1.114 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.8313, allocations: 0.7599 MB / 1.115 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001691/0.8314, allocations: 26.28 kB / 1.115 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.8315, allocations: 23.42 kB / 1.115 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8315, allocations: 7.938 kB / 1.115 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of Templates: time 0.01288/0.8444, allocations: 7.16 MB / 1.122 GB, free: 15.69 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches