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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.009027/0.009027, allocations: 100.8 kB / 15.87 MB, free: 5.863 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.001912/0.001912, allocations: 190.8 kB / 16.79 MB, free: 5.805 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.443/2.443, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7712, allocations: 140.3 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.00484/0.7761, allocations: 2.46 MB / 0.952 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1681/0.9442, allocations: 148.7 MB / 1.097 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.9446, allocations: 7.938 kB / 1.097 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.9451, allocations: 75.62 kB / 1.097 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007537/0.9459, allocations: 210.9 kB / 1.097 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.9476, allocations: 0.5807 MB / 1.098 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005665/0.9481, allocations: 406.7 kB / 1.098 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.9483, allocations: 48.72 kB / 1.098 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.9486, allocations: 167.4 kB / 1.099 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.949, allocations: 191.3 kB / 1.099 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-05/0.9491, allocations: 20 kB / 1.099 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.9506, allocations: 0.6706 MB / 1.1 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.9508, allocations: 79.72 kB / 1.1 GB, free: 7.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002377/0.951, allocations: 151.2 kB / 1.1 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008242/0.9518, allocations: 478.9 kB / 1.1 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9519, allocations: 0 / 1.1 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9519, allocations: 0 / 1.1 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.9519, allocations: 0 / 1.1 GB, free: 7.328 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.001837/0.9537, allocations: 0.7416 MB / 1.101 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9538, allocations: 8.031 kB / 1.101 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.9555, allocations: 172.3 kB / 1.101 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.956, allocations: 306.2 kB / 1.101 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.864e-05/0.9561, allocations: 49.64 kB / 1.101 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.428e-05/0.9562, allocations: 20 kB / 1.101 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.9567, allocations: 200.1 kB / 1.102 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9567, allocations: 4 kB / 1.102 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.725e-05/0.9567, allocations: 8 kB / 1.102 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.9567, allocations: 4 kB / 1.102 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.957, allocations: 128 kB / 1.102 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.9598, allocations: 0.9885 MB / 1.103 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.9606, allocations: 158.5 kB / 1.103 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.9609, allocations: 96.81 kB / 1.103 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.9609, allocations: 7.938 kB / 1.103 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004577/0.9614, allocations: 185.9 kB / 1.103 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.924e-06/0.9614, allocations: 4 kB / 1.103 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.004533/0.9659, allocations: 0.8564 MB / 1.104 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.966, allocations: 89.11 kB / 1.104 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.9665, allocations: 336.4 kB / 1.104 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.549e-05/0.9666, allocations: 33.7 kB / 1.104 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.9667, allocations: 152.6 kB / 1.105 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-05/0.9668, allocations: 59.19 kB / 1.105 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.967, allocations: 85.84 kB / 1.105 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9671, allocations: 342.8 kB / 1.105 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.9675, allocations: 144.5 kB / 1.105 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.968, allocations: 225.3 kB / 1.105 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.9687, allocations: 336.9 kB / 1.106 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.9687, allocations: 0 / 1.106 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003871/0.9725, allocations: 0.86 MB / 1.107 GB, free: 452 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.9726, allocations: 33.7 kB / 1.107 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9726, allocations: 0 / 1.107 GB, free: 412 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009752/0.9736, allocations: 209.4 kB / 1.107 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.9739, allocations: 31.98 kB / 1.107 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.9771, allocations: 2.245 MB / 1.109 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.9777, allocations: 43.58 kB / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.9777, allocations: 23.92 kB / 1.109 GB, free: 13.69 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.0002961/0.978, allocations: 191.9 kB / 1.109 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.9781, allocations: 31.62 kB / 1.109 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.9782, allocations: 35.17 kB / 1.109 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.9782, allocations: 0 / 1.109 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.9782, allocations: 0 / 1.109 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.9782, allocations: 0 / 1.109 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003485/0.9817, allocations: 1.053 MB / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9817, allocations: 0 / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/0.9818, allocations: 4 kB / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003408/0.9822, allocations: 112.8 kB / 1.11 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.9822, allocations: 7.984 kB / 1.11 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009782/0.9832, allocations: 0.7537 MB / 1.111 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.9832, allocations: 0 / 1.111 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/0.9865, allocations: 0.8742 MB / 1.112 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.9867, allocations: 136.6 kB / 1.112 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.9868, allocations: 4 kB / 1.112 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.9871, allocations: 15.98 kB / 1.112 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.9871, allocations: 7.984 kB / 1.112 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.9872, allocations: 15.98 kB / 1.112 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003335/0.9875, allocations: 239 kB / 1.112 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9875, allocations: 0 / 1.112 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005633/0.9881, allocations: 120 kB / 1.113 GB, free: 9.961 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.0004226/0.9885, allocations: 185 kB / 1.113 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.9902, allocations: 0.5535 MB / 1.113 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9902, allocations: 0 / 1.113 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007675/0.991, allocations: 252 kB / 1.114 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.9915, allocations: 57.06 kB / 1.114 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.9931, allocations: 0.7142 MB / 1.114 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.9935, allocations: 0.7637 MB / 1.115 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.307e-05/0.9936, allocations: 19.44 kB / 1.115 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.9936, allocations: 3.938 kB / 1.115 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of Templates: time 0.01093/1.005, allocations: 6.514 MB / 1.121 GB, free: 0.832 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