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.00154/0.00154, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.00154/0.00154, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.186/2.186, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.72 kB / 0.8132 GB, free: 32.86 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2928, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004174/0.297, allocations: 2.41 MB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.8108/1.108, allocations: 150.9 MB / 1.1 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/1.108, allocations: 2.219 kB / 1.1 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004109/1.109, allocations: 95.38 kB / 1.1 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009075/1.11, allocations: 237.1 kB / 1.1 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/1.112, allocations: 0.6473 MB / 1.101 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007261/1.112, allocations: 437.4 kB / 1.101 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/1.112, allocations: 49.41 kB / 1.101 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/1.113, allocations: 181.3 kB / 1.102 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/1.113, allocations: 209.6 kB / 1.102 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/1.113, allocations: 29.91 kB / 1.102 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/1.115, allocations: 0.6224 MB / 1.102 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/1.115, allocations: 82.33 kB / 1.103 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002447/1.115, allocations: 161.3 kB / 1.103 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/1.117, allocations: 0.6505 MB / 1.103 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.117, allocations: 2.656 kB / 1.103 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.374e-06/1.117, allocations: 4 kB / 1.103 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.393e-05/1.117, allocations: 0 / 1.103 GB, free: 5.469 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.001999/1.119, allocations: 0.7359 MB / 1.104 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/1.119, allocations: 9.438 kB / 1.104 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/1.12, allocations: 157.6 kB / 1.104 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/1.121, allocations: 316.8 kB / 1.105 GB, free: 20.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/1.121, allocations: 50.02 kB / 1.105 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/1.121, allocations: 17.97 kB / 1.105 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/1.122, allocations: 208.9 kB / 1.105 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.122, allocations: 0 / 1.105 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/1.122, allocations: 7.406 kB / 1.105 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.122, allocations: 3.281 kB / 1.105 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/1.122, allocations: 119.8 kB / 1.105 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/1.125, allocations: 0.9918 MB / 1.106 GB, free: 20.13 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/1.126, allocations: 170.1 kB / 1.106 GB, free: 20.1 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/1.126, allocations: 96.31 kB / 1.106 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/1.126, allocations: 1.125 kB / 1.106 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005625/1.126, allocations: 187.8 kB / 1.106 GB, free: 20.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=19): time 3.627e-06/1.126, allocations: 3.984 kB / 1.106 GB, free: 20.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.004426/1.131, allocations: 0.8646 MB / 1.107 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.131, allocations: 86.61 kB / 1.107 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/1.131, allocations: 338.5 kB / 1.108 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.531e-05/1.132, allocations: 36.53 kB / 1.108 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/1.132, allocations: 150.2 kB / 1.108 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/1.132, allocations: 53.2 kB / 1.108 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/1.132, allocations: 88.83 kB / 1.108 GB, free: 19.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.132, allocations: 346.1 kB / 1.108 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/1.133, allocations: 136.3 kB / 1.108 GB, free: 19.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/1.133, allocations: 218.5 kB / 1.109 GB, free: 19.06 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007471/1.134, allocations: 338 kB / 1.109 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.134, allocations: 0 / 1.109 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0038/1.138, allocations: 0.8603 MB / 1.11 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/1.138, allocations: 38.94 kB / 1.11 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.138, allocations: 1.312 kB / 1.11 GB, free: 18.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009248/1.139, allocations: 200.3 kB / 1.11 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/1.139, allocations: 41.98 kB / 1.11 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/1.142, allocations: 2.35 MB / 1.112 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/1.143, allocations: 44.3 kB / 1.112 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/1.143, allocations: 21.06 kB / 1.112 GB, free: 16.76 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.0002906/1.143, allocations: 183.8 kB / 1.113 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/1.143, allocations: 31.25 kB / 1.113 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/1.143, allocations: 28.2 kB / 1.113 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.143, allocations: 6.469 kB / 1.113 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.143, allocations: 4.688 kB / 1.113 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/1.143, allocations: 3.094 kB / 1.113 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00349/1.147, allocations: 1.044 MB / 1.114 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/1.147, allocations: 0 / 1.114 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/1.147, allocations: 6.719 kB / 1.114 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003327/1.147, allocations: 114.7 kB / 1.114 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/1.147, allocations: 13.75 kB / 1.114 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009356/1.148, allocations: 0.7439 MB / 1.114 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.148, allocations: 4 kB / 1.114 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/1.151, allocations: 0.8721 MB / 1.115 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/1.151, allocations: 133.7 kB / 1.115 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/1.152, allocations: 8.703 kB / 1.115 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/1.152, allocations: 14 kB / 1.115 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/1.152, allocations: 8.375 kB / 1.115 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/1.152, allocations: 11.62 kB / 1.115 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003658/1.152, allocations: 241.9 kB / 1.116 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/1.152, allocations: 1.203 kB / 1.116 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007107/1.153, allocations: 111.9 kB / 1.116 GB, free: 15.19 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.0004288/1.153, allocations: 194.1 kB / 1.116 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001786/1.155, allocations: 0.5742 MB / 1.117 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.155, allocations: 0 / 1.117 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008616/1.156, allocations: 254.7 kB / 1.117 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/1.157, allocations: 72.67 kB / 1.117 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.159, allocations: 0.6443 MB / 1.118 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/1.159, allocations: 0.7594 MB / 1.118 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.159, allocations: 26.56 kB / 1.118 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of SimCode: time 7.81e-07/1.159, allocations: 0 / 1.118 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.0146/1.174, allocations: 6.514 MB / 1.125 GB, free: 13.17 MB / 0.8731 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