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.001876/0.001876, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002321/0.002321, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.356/2.356, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6208, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003226/0.624, allocations: 2.396 MB / 0.9519 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.7994, allocations: 151 MB / 1.099 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.7997, allocations: 4 kB / 1.099 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.8001, allocations: 95.45 kB / 1.099 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006463/0.8008, allocations: 238.5 kB / 1.1 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.8024, allocations: 0.6514 MB / 1.1 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.8028, allocations: 434.6 kB / 1.101 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.8029, allocations: 48.72 kB / 1.101 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.8032, allocations: 183.4 kB / 1.101 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.8035, allocations: 195.2 kB / 1.101 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.874e-05/0.8036, allocations: 32 kB / 1.101 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.8047, allocations: 0.62 MB / 1.102 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.8049, allocations: 87.7 kB / 1.102 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.805, allocations: 163.2 kB / 1.102 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008581/0.8059, allocations: 0.6467 MB / 1.103 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.8059, allocations: 4 kB / 1.103 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8059, allocations: 3.938 kB / 1.103 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.8059, allocations: 0 / 1.103 GB, free: 4.559 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.001555/0.8075, allocations: 0.7377 MB / 1.103 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.8076, allocations: 12.03 kB / 1.103 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.8091, allocations: 156.4 kB / 1.104 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004771/0.8096, allocations: 318.2 kB / 1.104 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.225e-05/0.8097, allocations: 41.7 kB / 1.104 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.8098, allocations: 20 kB / 1.104 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.8102, allocations: 204.1 kB / 1.104 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8102, allocations: 0 / 1.104 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.8103, allocations: 4 kB / 1.104 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.8103, allocations: 8 kB / 1.104 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.8106, allocations: 135.9 kB / 1.104 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.8131, allocations: 0.9846 MB / 1.105 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008071/0.8139, allocations: 170.5 kB / 1.105 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.8141, allocations: 96.77 kB / 1.105 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.8142, allocations: 0 / 1.105 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004323/0.8146, allocations: 197.7 kB / 1.106 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.8146, allocations: 0 / 1.106 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.004249/0.8189, allocations: 0.8618 MB / 1.106 GB, free: 408 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.819, allocations: 81.11 kB / 1.107 GB, free: 308 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.8194, allocations: 348.4 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.8194, allocations: 29.7 kB / 1.107 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.8196, allocations: 148.6 kB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.8196, allocations: 59.17 kB / 1.107 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.8198, allocations: 89.84 kB / 1.107 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8199, allocations: 342.8 kB / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.8203, allocations: 144.5 kB / 1.108 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.8207, allocations: 213.4 kB / 1.108 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006381/0.8214, allocations: 336.6 kB / 1.108 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.8214, allocations: 4 kB / 1.108 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003755/0.8251, allocations: 0.8685 MB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.8252, allocations: 41.69 kB / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8252, allocations: 3.938 kB / 1.109 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009567/0.8262, allocations: 193.5 kB / 1.109 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.8264, allocations: 43.91 kB / 1.109 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003098/0.8295, allocations: 2.345 MB / 1.112 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.83, allocations: 39.67 kB / 1.112 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.8301, allocations: 23.97 kB / 1.112 GB, free: 10.81 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.000231/0.8303, allocations: 183.5 kB / 1.112 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.8304, allocations: 31.62 kB / 1.112 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.8304, allocations: 31.17 kB / 1.112 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8305, allocations: 3.938 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.8305, allocations: 0 / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8305, allocations: 4 kB / 1.112 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.8337, allocations: 1.043 MB / 1.113 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8338, allocations: 0 / 1.113 GB, free: 9.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.8338, allocations: 7.938 kB / 1.113 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/0.8341, allocations: 120.7 kB / 1.113 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.8342, allocations: 8 kB / 1.113 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008913/0.8351, allocations: 0.7536 MB / 1.114 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8351, allocations: 3.984 kB / 1.114 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.8383, allocations: 0.8704 MB / 1.115 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.8385, allocations: 132.7 kB / 1.115 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.8386, allocations: 12 kB / 1.115 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.8389, allocations: 11.98 kB / 1.115 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.839, allocations: 11.92 kB / 1.115 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.839, allocations: 20.05 kB / 1.115 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003196/0.8393, allocations: 239 kB / 1.115 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8393, allocations: 0 / 1.115 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005845/0.8399, allocations: 111.9 kB / 1.115 GB, free: 7.074 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.0003868/0.8403, allocations: 179.2 kB / 1.115 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.8419, allocations: 0.5696 MB / 1.116 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.842, allocations: 3.938 kB / 1.116 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007434/0.8427, allocations: 260.2 kB / 1.116 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.8432, allocations: 57.73 kB / 1.116 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.8447, allocations: 0.616 MB / 1.117 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.8451, allocations: 0.756 MB / 1.118 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.8452, allocations: 30.28 kB / 1.118 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.8453, allocations: 19.44 kB / 1.118 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.8453, allocations: 0 / 1.118 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.01358/0.8589, allocations: 7.202 MB / 1.125 GB, free: 13.36 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