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.001476/0.001476, allocations: 109.3 kB / 16.41 MB, free: 6.465 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.001806/0.001806, allocations: 187 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.48/1.48, allocations: 222.9 MB / 241 MB, free: 15.09 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.319/2.319, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.91 kB / 0.9516 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003527/1.02, allocations: 2.406 MB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2016/1.222, allocations: 150.9 MB / 1.238 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/1.222, allocations: 2.156 kB / 1.238 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004407/1.222, allocations: 94.27 kB / 1.239 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009332/1.223, allocations: 235.7 kB / 1.239 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001922/1.225, allocations: 0.6586 MB / 1.239 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007673/1.226, allocations: 442.3 kB / 1.24 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/1.226, allocations: 53.27 kB / 1.24 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/1.227, allocations: 182.5 kB / 1.24 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004968/1.227, allocations: 199.5 kB / 1.24 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/1.227, allocations: 33.28 kB / 1.24 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/1.229, allocations: 0.6187 MB / 1.241 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/1.229, allocations: 84.22 kB / 1.241 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/1.229, allocations: 159.4 kB / 1.241 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/1.231, allocations: 0.6592 MB / 1.242 GB, free: 80 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.231, allocations: 5.594 kB / 1.242 GB, free: 76 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.923e-06/1.231, allocations: 0 / 1.242 GB, free: 76 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.319e-05/1.231, allocations: 0 / 1.242 GB, free: 76 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.001975/1.233, allocations: 0.7356 MB / 1.242 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.233, allocations: 13.84 kB / 1.242 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/1.235, allocations: 159.9 kB / 1.243 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/1.235, allocations: 324.2 kB / 1.243 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/1.235, allocations: 46.08 kB / 1.243 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/1.235, allocations: 21.47 kB / 1.243 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004496/1.236, allocations: 215.7 kB / 1.243 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.236, allocations: 1.531 kB / 1.243 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/1.236, allocations: 9.156 kB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/1.236, allocations: 2.594 kB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002832/1.236, allocations: 115.8 kB / 1.243 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/1.239, allocations: 0.9855 MB / 1.244 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/1.24, allocations: 174.6 kB / 1.244 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/1.24, allocations: 94.72 kB / 1.245 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/1.24, allocations: 13.48 kB / 1.245 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/1.24, allocations: 188.4 kB / 1.245 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/1.24, allocations: 0 / 1.245 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.00425/1.245, allocations: 0.8573 MB / 1.246 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/1.245, allocations: 85.05 kB / 1.246 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/1.245, allocations: 348.4 kB / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/1.245, allocations: 29.7 kB / 1.246 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/1.246, allocations: 156.5 kB / 1.246 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/1.246, allocations: 59.19 kB / 1.246 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/1.246, allocations: 81.94 kB / 1.246 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.246, allocations: 342.8 kB / 1.247 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/1.246, allocations: 132.5 kB / 1.247 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/1.247, allocations: 225.3 kB / 1.247 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/1.247, allocations: 344.7 kB / 1.247 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.247, allocations: 0 / 1.247 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003666/1.251, allocations: 0.8528 MB / 1.248 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/1.251, allocations: 41.69 kB / 1.248 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.251, allocations: 7.875 kB / 1.248 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009477/1.252, allocations: 193.6 kB / 1.248 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/1.252, allocations: 39.91 kB / 1.248 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/1.256, allocations: 2.341 MB / 1.251 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/1.256, allocations: 43.73 kB / 1.251 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/1.256, allocations: 15.98 kB / 1.251 GB, free: 7.281 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.0003208/1.257, allocations: 196.5 kB / 1.251 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/1.257, allocations: 27.72 kB / 1.251 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/1.257, allocations: 27.17 kB / 1.251 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.257, allocations: 7.938 kB / 1.251 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.257, allocations: 4 kB / 1.251 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.257, allocations: 0 / 1.251 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/1.26, allocations: 1.028 MB / 1.252 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.26, allocations: 4 kB / 1.252 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/1.26, allocations: 15.88 kB / 1.252 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002998/1.26, allocations: 112.8 kB / 1.252 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/1.26, allocations: 11.98 kB / 1.252 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000911/1.261, allocations: 0.742 MB / 1.253 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.261, allocations: 0 / 1.253 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/1.265, allocations: 0.8783 MB / 1.254 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/1.265, allocations: 136.7 kB / 1.254 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/1.265, allocations: 8 kB / 1.254 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/1.265, allocations: 11.92 kB / 1.254 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/1.265, allocations: 19.98 kB / 1.254 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/1.265, allocations: 7.984 kB / 1.254 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003387/1.266, allocations: 243 kB / 1.254 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.31e-07/1.266, allocations: 0 / 1.254 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006181/1.266, allocations: 116 kB / 1.254 GB, free: 3.551 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.0004553/1.267, allocations: 183.2 kB / 1.254 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.268, allocations: 0.5692 MB / 1.255 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.268, allocations: 0 / 1.255 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007566/1.269, allocations: 248.2 kB / 1.255 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/1.27, allocations: 69.11 kB / 1.255 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/1.271, allocations: 0.6452 MB / 1.256 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/1.272, allocations: 0.7598 MB / 1.257 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/1.272, allocations: 27.42 kB / 1.257 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of SimCode: time 6.32e-07/1.272, allocations: 0 / 1.257 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of Templates: time 0.01075/1.283, allocations: 6.544 MB / 1.263 GB, free: 10.44 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