Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DXSystems.Cooling.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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005543/0.005543, allocations: 100.3 kB / 15.73 MB, free: 5.555 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.001166/0.001166, allocations: 196.5 kB / 16.68 MB, free: 5.484 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.909/2.909, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 159.1 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00445/0.3611, allocations: 3.008 MB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9789/1.34, allocations: 153.8 MB / 1.374 GB, free: 10.43 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/1.34, allocations: 6.594 kB / 1.374 GB, free: 10.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004205/1.341, allocations: 96.7 kB / 1.374 GB, free: 10.37 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/1.342, allocations: 291.7 kB / 1.374 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/1.345, allocations: 1.02 MB / 1.375 GB, free: 9.684 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001251/1.346, allocations: 0.7883 MB / 1.376 GB, free: 9.312 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/1.346, allocations: 61.16 kB / 1.376 GB, free: 9.281 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/1.347, allocations: 327.5 kB / 1.376 GB, free: 9.148 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/1.347, allocations: 337.8 kB / 1.377 GB, free: 9.004 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/1.347, allocations: 59.62 kB / 1.377 GB, free: 9.004 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/1.349, allocations: 0.7948 MB / 1.377 GB, free: 8.734 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/1.349, allocations: 147.8 kB / 1.378 GB, free: 8.648 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003398/1.35, allocations: 292.1 kB / 1.378 GB, free: 8.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/1.351, allocations: 0.9741 MB / 1.379 GB, free: 7.961 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.351, allocations: 1.5 kB / 1.379 GB, free: 7.961 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.162e-06/1.351, allocations: 0 / 1.379 GB, free: 7.961 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.447e-06/1.351, allocations: 0 / 1.379 GB, free: 7.961 MB / 1.076 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.002831/1.354, allocations: 1.079 MB / 1.38 GB, free: 7.109 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/1.354, allocations: 9 kB / 1.38 GB, free: 7.109 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/1.357, allocations: 257.7 kB / 1.38 GB, free: 7.008 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007689/1.358, allocations: 422.1 kB / 1.381 GB, free: 6.625 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.358, allocations: 92.08 kB / 1.381 GB, free: 6.547 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/1.358, allocations: 38.56 kB / 1.381 GB, free: 6.535 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008526/1.359, allocations: 370.9 kB / 1.381 GB, free: 6.281 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/1.359, allocations: 1.438 kB / 1.381 GB, free: 6.281 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/1.359, allocations: 10.56 kB / 1.381 GB, free: 6.273 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/1.359, allocations: 9.141 kB / 1.381 GB, free: 6.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007552/1.36, allocations: 258 kB / 1.381 GB, free: 6.145 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/1.364, allocations: 1.691 MB / 1.383 GB, free: 4.805 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000799/1.365, allocations: 233.2 kB / 1.383 GB, free: 4.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/1.366, allocations: 152.8 kB / 1.383 GB, free: 4.598 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/1.366, allocations: 6.156 kB / 1.383 GB, free: 4.594 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007711/1.366, allocations: 304.1 kB / 1.384 GB, free: 4.387 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 2.434e-06/1.366, allocations: 0 / 1.384 GB, free: 4.387 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.009176/1.376, allocations: 1.501 MB / 1.385 GB, free: 3.543 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/1.376, allocations: 85.61 kB / 1.385 GB, free: 3.445 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008424/1.377, allocations: 461.2 kB / 1.386 GB, free: 3.148 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/1.377, allocations: 39.33 kB / 1.386 GB, free: 3.109 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/1.377, allocations: 202.2 kB / 1.386 GB, free: 2.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/1.377, allocations: 107.4 kB / 1.386 GB, free: 2.836 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/1.378, allocations: 154.5 kB / 1.386 GB, free: 2.742 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.378, allocations: 352.5 kB / 1.386 GB, free: 2.398 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008655/1.379, allocations: 278.5 kB / 1.387 GB, free: 2.258 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/1.38, allocations: 418.8 kB / 1.387 GB, free: 2.004 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008077/1.388, allocations: 1.853 MB / 1.389 GB, free: 0.957 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/1.388, allocations: 3.938 kB / 1.389 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008147/1.396, allocations: 1.577 MB / 1.39 GB, free: 112 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.396, allocations: 58.47 kB / 1.39 GB, free: 48 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/1.396, allocations: 2.844 kB / 1.39 GB, free: 48 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/1.398, allocations: 396.7 kB / 1.391 GB, free: 15.84 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/1.399, allocations: 94.05 kB / 1.391 GB, free: 15.81 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006978/1.406, allocations: 4.68 MB / 1.396 GB, free: 11.29 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.407, allocations: 105.5 kB / 1.396 GB, free: 11.23 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.407, allocations: 40.89 kB / 1.396 GB, free: 11.21 MB / 1.092 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.0005068/1.408, allocations: 171.4 kB / 1.396 GB, free: 11.05 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/1.408, allocations: 51.52 kB / 1.396 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.292e-05/1.408, allocations: 43.53 kB / 1.396 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.408, allocations: 3.406 kB / 1.396 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.408, allocations: 1.156 kB / 1.396 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/1.408, allocations: 5.125 kB / 1.396 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/1.409, allocations: 468.8 kB / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.409, allocations: 0.9688 kB / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/1.409, allocations: 28.88 kB / 1.396 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006553/1.41, allocations: 231.8 kB / 1.397 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/1.41, allocations: 11.27 kB / 1.397 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/1.412, allocations: 1.499 MB / 1.398 GB, free: 9.086 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.412, allocations: 4 kB / 1.398 GB, free: 9.082 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006725/1.418, allocations: 1.271 MB / 1.399 GB, free: 8.406 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/1.419, allocations: 166.6 kB / 1.4 GB, free: 8.242 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/1.419, allocations: 14.67 kB / 1.4 GB, free: 8.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005717/1.419, allocations: 36.58 kB / 1.4 GB, free: 8.215 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/1.42, allocations: 40.3 kB / 1.4 GB, free: 8.191 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/1.42, allocations: 15.92 kB / 1.4 GB, free: 8.184 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004773/1.42, allocations: 302.3 kB / 1.4 GB, free: 7.996 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.42, allocations: 3.938 kB / 1.4 GB, free: 7.992 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008642/1.421, allocations: 161.7 kB / 1.4 GB, free: 7.965 MB / 1.092 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.0004259/1.421, allocations: 178.3 kB / 1.4 GB, free: 7.836 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003725/1.425, allocations: 1.011 MB / 1.401 GB, free: 7.145 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.425, allocations: 0 / 1.401 GB, free: 7.145 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/1.427, allocations: 315.1 kB / 1.402 GB, free: 6.992 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008945/1.428, allocations: 108.3 kB / 1.402 GB, free: 6.93 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/1.43, allocations: 0.9227 MB / 1.403 GB, free: 6.289 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/1.43, allocations: 0.804 MB / 1.403 GB, free: 5.543 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003499/1.431, allocations: 52.17 kB / 1.403 GB, free: 5.52 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/1.431, allocations: 36.69 kB / 1.403 GB, free: 5.504 MB / 1.092 GB Notification: Performance of SimCode: time 1.172e-06/1.431, allocations: 0 / 1.403 GB, free: 5.504 MB / 1.092 GB Notification: Performance of Templates: time 0.02264/1.453, allocations: 12.38 MB / 1.415 GB, free: 12.88 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches