Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.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.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00143/0.00143, allocations: 191 kB / 17.29 MB, free: 5.516 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.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.206/2.206, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 66.03 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2971, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.006176/0.3034, allocations: 3.009 MB / 0.9541 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7154/1.019, allocations: 153.4 MB / 1.104 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004071/1.019, allocations: 3.219 kB / 1.104 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/1.02, allocations: 93.42 kB / 1.104 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/1.021, allocations: 271.2 kB / 1.104 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/1.024, allocations: 1.007 MB / 1.105 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001359/1.025, allocations: 0.7892 MB / 1.106 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/1.026, allocations: 93.8 kB / 1.106 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000767/1.026, allocations: 315.3 kB / 1.106 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008096/1.027, allocations: 335.8 kB / 1.107 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/1.027, allocations: 62 kB / 1.107 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/1.03, allocations: 0.786 MB / 1.108 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/1.03, allocations: 155.6 kB / 1.108 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004509/1.03, allocations: 284.3 kB / 1.108 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/1.032, allocations: 0.9705 MB / 1.109 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.032, allocations: 0 / 1.109 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/1.032, allocations: 2.453 kB / 1.109 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.308e-06/1.032, allocations: 0 / 1.109 GB, free: 5.008 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003035/1.035, allocations: 1.055 MB / 1.11 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.035, allocations: 9.406 kB / 1.11 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/1.038, allocations: 267.1 kB / 1.11 GB, free: 20.35 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/1.039, allocations: 405.7 kB / 1.111 GB, free: 20.11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/1.039, allocations: 92.86 kB / 1.111 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/1.039, allocations: 38.41 kB / 1.111 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/1.04, allocations: 372.2 kB / 1.111 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.04, allocations: 1.312 kB / 1.111 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/1.04, allocations: 6.609 kB / 1.111 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/1.04, allocations: 14.95 kB / 1.111 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/1.04, allocations: 256.6 kB / 1.111 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004707/1.045, allocations: 1.68 MB / 1.113 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/1.046, allocations: 252.5 kB / 1.113 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004522/1.046, allocations: 160.7 kB / 1.113 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/1.046, allocations: 8.969 kB / 1.113 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007041/1.047, allocations: 297.9 kB / 1.114 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.235e-06/1.047, allocations: 1.75 kB / 1.114 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008137/1.055, allocations: 1.506 MB / 1.115 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/1.055, allocations: 82.09 kB / 1.115 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000625/1.056, allocations: 455 kB / 1.116 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.056, allocations: 39.5 kB / 1.116 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/1.056, allocations: 198.1 kB / 1.116 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/1.057, allocations: 97.55 kB / 1.116 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/1.057, allocations: 159.1 kB / 1.116 GB, free: 18.44 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.057, allocations: 361 kB / 1.116 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007527/1.058, allocations: 271.6 kB / 1.117 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008783/1.059, allocations: 420.4 kB / 1.117 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007444/1.066, allocations: 1.85 MB / 1.119 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.066, allocations: 5.312 kB / 1.119 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007402/1.074, allocations: 1.573 MB / 1.12 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-05/1.074, allocations: 57.69 kB / 1.121 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.074, allocations: 6.344 kB / 1.121 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/1.075, allocations: 394.8 kB / 1.121 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005522/1.076, allocations: 96.3 kB / 1.121 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006154/1.082, allocations: 4.684 MB / 1.126 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/1.083, allocations: 95.47 kB / 1.126 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/1.083, allocations: 35.98 kB / 1.126 GB, free: 13.37 MB / 0.8731 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.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: 8 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {7, 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003045/1.084, allocations: 175.4 kB / 1.126 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.07e-05/1.084, allocations: 43.16 kB / 1.126 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/1.084, allocations: 42.53 kB / 1.126 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/1.084, allocations: 3.938 kB / 1.126 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.084, allocations: 5.25 kB / 1.126 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.084, allocations: 0 / 1.126 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/1.084, allocations: 479.3 kB / 1.126 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.084, allocations: 1.312 kB / 1.126 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/1.084, allocations: 27.38 kB / 1.126 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000556/1.085, allocations: 226.7 kB / 1.127 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/1.085, allocations: 13.61 kB / 1.127 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/1.087, allocations: 1.492 MB / 1.128 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.087, allocations: 1.312 kB / 1.128 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005853/1.093, allocations: 1.293 MB / 1.129 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/1.093, allocations: 161.7 kB / 1.13 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/1.093, allocations: 6.938 kB / 1.13 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004656/1.093, allocations: 39.02 kB / 1.13 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.094, allocations: 40.2 kB / 1.13 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/1.094, allocations: 17.81 kB / 1.13 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003601/1.094, allocations: 302.3 kB / 1.13 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/1.094, allocations: 0 / 1.13 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007451/1.095, allocations: 157.3 kB / 1.13 GB, free: 11.41 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003372/1.095, allocations: 187 kB / 1.13 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003035/1.098, allocations: 1.046 MB / 1.131 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.098, allocations: 2.891 kB / 1.131 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/1.1, allocations: 327 kB / 1.132 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/1.1, allocations: 105.5 kB / 1.132 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/1.102, allocations: 0.9003 MB / 1.133 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/1.102, allocations: 0.8072 MB / 1.133 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002865/1.102, allocations: 59.64 kB / 1.133 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/1.103, allocations: 39.06 kB / 1.133 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of SimCode: time 5.01e-07/1.103, allocations: 0 / 1.133 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.02086/1.123, allocations: 12.29 MB / 1.145 GB, free: 7.699 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches