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.001505/0.001505, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001474/0.001475, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.441/1.441, 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 9.1.3-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 67.91 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003912/1.096, allocations: 2.4 MB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2137/1.309, allocations: 150.9 MB / 1.238 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/1.31, allocations: 2.25 kB / 1.238 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005227/1.31, allocations: 102 kB / 1.239 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/1.312, allocations: 233.6 kB / 1.239 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/1.314, allocations: 0.6697 MB / 1.239 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009532/1.315, allocations: 433.3 kB / 1.24 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/1.315, allocations: 50.7 kB / 1.24 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004561/1.316, allocations: 183.3 kB / 1.24 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005745/1.316, allocations: 202.9 kB / 1.24 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/1.316, allocations: 30.25 kB / 1.24 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/1.318, allocations: 0.6257 MB / 1.241 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/1.318, allocations: 77.05 kB / 1.241 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000339/1.318, allocations: 175.2 kB / 1.241 GB, free: 488 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/1.32, allocations: 0.6473 MB / 1.242 GB, free: 64 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/1.32, allocations: 9.094 kB / 1.242 GB, free: 56 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/1.32, allocations: 0 / 1.242 GB, free: 56 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.389e-05/1.32, allocations: 3.938 kB / 1.242 GB, free: 52 kB / 0.9669 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.002321/1.322, allocations: 0.736 MB / 1.242 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.323, allocations: 9.812 kB / 1.242 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/1.324, allocations: 171 kB / 1.243 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/1.325, allocations: 312.1 kB / 1.243 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/1.325, allocations: 45.97 kB / 1.243 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.108e-05/1.325, allocations: 26.44 kB / 1.243 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/1.326, allocations: 212.7 kB / 1.243 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.326, allocations: 0 / 1.243 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/1.326, allocations: 2.094 kB / 1.243 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/1.326, allocations: 6.359 kB / 1.243 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/1.326, allocations: 124.6 kB / 1.243 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/1.329, allocations: 0.9816 MB / 1.244 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000815/1.33, allocations: 166.1 kB / 1.244 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/1.33, allocations: 106.1 kB / 1.245 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/1.33, allocations: 1.125 kB / 1.245 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/1.33, allocations: 196.5 kB / 1.245 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 2.334e-06/1.33, allocations: 0 / 1.245 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.004163/1.334, allocations: 0.8595 MB / 1.246 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/1.335, allocations: 81.11 kB / 1.246 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/1.335, allocations: 348.4 kB / 1.246 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/1.335, allocations: 33.7 kB / 1.246 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/1.335, allocations: 152.5 kB / 1.246 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.508e-05/1.335, allocations: 59.19 kB / 1.246 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/1.336, allocations: 81.94 kB / 1.246 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.336, allocations: 346.8 kB / 1.247 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/1.336, allocations: 136.5 kB / 1.247 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/1.336, allocations: 217.3 kB / 1.247 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006695/1.337, allocations: 336.7 kB / 1.247 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.337, allocations: 0 / 1.247 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00357/1.341, allocations: 0.8606 MB / 1.248 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/1.341, allocations: 41.69 kB / 1.248 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.341, allocations: 7.938 kB / 1.248 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000895/1.342, allocations: 197.7 kB / 1.248 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/1.342, allocations: 43.91 kB / 1.248 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/1.345, allocations: 2.342 MB / 1.251 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/1.346, allocations: 39.67 kB / 1.251 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.999e-05/1.346, allocations: 19.98 kB / 1.251 GB, free: 7.219 MB / 0.9825 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.0003169/1.346, allocations: 190.1 kB / 1.251 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/1.346, allocations: 35.7 kB / 1.251 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/1.346, allocations: 27.19 kB / 1.251 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.346, allocations: 3.938 kB / 1.251 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.346, allocations: 3.984 kB / 1.251 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.346, allocations: 0 / 1.251 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/1.35, allocations: 1.035 MB / 1.252 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/1.35, allocations: 0 / 1.252 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/1.35, allocations: 15.92 kB / 1.252 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/1.35, allocations: 108.8 kB / 1.252 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/1.35, allocations: 11.98 kB / 1.252 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000928/1.351, allocations: 0.7419 MB / 1.253 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.351, allocations: 0 / 1.253 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003097/1.354, allocations: 0.8746 MB / 1.254 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/1.354, allocations: 136.6 kB / 1.254 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/1.355, allocations: 11.94 kB / 1.254 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/1.355, allocations: 15.92 kB / 1.254 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/1.355, allocations: 15.97 kB / 1.254 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/1.355, allocations: 15.97 kB / 1.254 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003643/1.355, allocations: 243 kB / 1.254 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.91e-07/1.355, allocations: 0 / 1.254 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006058/1.356, allocations: 112 kB / 1.254 GB, free: 3.488 MB / 0.9825 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.0004626/1.356, allocations: 183.2 kB / 1.254 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.358, allocations: 0.5693 MB / 1.255 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.358, allocations: 0 / 1.255 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/1.359, allocations: 252.2 kB / 1.255 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/1.359, allocations: 66.41 kB / 1.255 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/1.361, allocations: 0.64 MB / 1.256 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/1.362, allocations: 0.7637 MB / 1.257 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/1.362, allocations: 27.42 kB / 1.257 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/1.362, allocations: 0 / 1.257 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of Templates: time 0.01231/1.374, allocations: 6.538 MB / 1.263 GB, free: 10.39 MB / 0.9981 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/jenkins1/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