Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.002003/0.002003, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.002141/0.002141, allocations: 190.2 kB / 17.29 MB, free: 5.48 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 67.81 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3592, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004354/0.3636, allocations: 3.025 MB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8473/1.211, allocations: 153.4 MB / 1.179 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/1.212, allocations: 7.438 kB / 1.179 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005134/1.212, allocations: 86.78 kB / 1.18 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00137/1.214, allocations: 279.6 kB / 1.18 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/1.217, allocations: 1.015 MB / 1.181 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001339/1.218, allocations: 0.7834 MB / 1.182 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/1.218, allocations: 96.06 kB / 1.182 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/1.219, allocations: 320.5 kB / 1.182 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007073/1.22, allocations: 330.5 kB / 1.182 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001545/1.22, allocations: 59.72 kB / 1.182 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/1.222, allocations: 0.7906 MB / 1.183 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/1.222, allocations: 154.1 kB / 1.183 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003645/1.222, allocations: 290.1 kB / 1.184 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/1.224, allocations: 0.9638 MB / 1.185 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.224, allocations: 0 / 1.185 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.954e-06/1.224, allocations: 0 / 1.185 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.225e-06/1.224, allocations: 0 / 1.185 GB, free: 3.066 MB / 0.8887 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.002871/1.227, allocations: 1.057 MB / 1.186 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.227, allocations: 10.09 kB / 1.186 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/1.23, allocations: 265 kB / 1.186 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/1.23, allocations: 410.6 kB / 1.186 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/1.231, allocations: 91.06 kB / 1.186 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.231, allocations: 39.19 kB / 1.186 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008669/1.232, allocations: 375.2 kB / 1.187 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.232, allocations: 3.938 kB / 1.187 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/1.232, allocations: 11.5 kB / 1.187 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.232, allocations: 4.781 kB / 1.187 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/1.232, allocations: 257.8 kB / 1.187 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004676/1.237, allocations: 1.679 MB / 1.189 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/1.238, allocations: 248.2 kB / 1.189 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/1.238, allocations: 164.1 kB / 1.189 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/1.238, allocations: 2.625 kB / 1.189 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007426/1.239, allocations: 303.2 kB / 1.189 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 3.798e-06/1.239, allocations: 0 / 1.189 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.008323/1.248, allocations: 1.513 MB / 1.191 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/1.248, allocations: 86.61 kB / 1.191 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007899/1.248, allocations: 453.3 kB / 1.191 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001815/1.249, allocations: 40.23 kB / 1.191 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/1.249, allocations: 203.6 kB / 1.191 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.249, allocations: 91.02 kB / 1.192 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/1.249, allocations: 163.4 kB / 1.192 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.25, allocations: 356.3 kB / 1.192 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008293/1.25, allocations: 265.7 kB / 1.192 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.252, allocations: 424.5 kB / 1.193 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007581/1.259, allocations: 1.86 MB / 1.195 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.259, allocations: 3.938 kB / 1.195 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007517/1.267, allocations: 1.568 MB / 1.196 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/1.267, allocations: 63.39 kB / 1.196 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.267, allocations: 0 / 1.196 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/1.268, allocations: 393 kB / 1.197 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/1.269, allocations: 98.02 kB / 1.197 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005977/1.275, allocations: 4.676 MB / 1.201 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.276, allocations: 100.9 kB / 1.201 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/1.276, allocations: 36.25 kB / 1.201 GB, free: 6.367 MB / 0.9044 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.000391/1.277, allocations: 179.3 kB / 1.201 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/1.277, allocations: 47.2 kB / 1.202 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/1.277, allocations: 39.36 kB / 1.202 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.277, allocations: 4.75 kB / 1.202 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.277, allocations: 0 / 1.202 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/1.277, allocations: 7.938 kB / 1.202 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007051/1.278, allocations: 482.6 kB / 1.202 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.278, allocations: 0 / 1.202 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/1.278, allocations: 33.23 kB / 1.202 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006482/1.279, allocations: 225.9 kB / 1.202 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/1.279, allocations: 16.28 kB / 1.202 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/1.281, allocations: 1.494 MB / 1.204 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.281, allocations: 2.312 kB / 1.204 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006211/1.287, allocations: 1.285 MB / 1.205 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/1.287, allocations: 161.8 kB / 1.205 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/1.288, allocations: 6.781 kB / 1.205 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/1.288, allocations: 42.7 kB / 1.205 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/1.288, allocations: 38.58 kB / 1.205 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/1.288, allocations: 15.94 kB / 1.205 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004041/1.289, allocations: 297.7 kB / 1.206 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.9e-07/1.289, allocations: 0 / 1.206 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008258/1.29, allocations: 163.8 kB / 1.206 GB, free: 3.105 MB / 0.9044 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.0004502/1.29, allocations: 167.2 kB / 1.206 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003469/1.293, allocations: 1.047 MB / 1.207 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.294, allocations: 0 / 1.207 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/1.295, allocations: 335 kB / 1.207 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/1.296, allocations: 114.5 kB / 1.207 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/1.298, allocations: 0.8981 MB / 1.208 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/1.298, allocations: 0.806 MB / 1.209 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003591/1.299, allocations: 55.73 kB / 1.209 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/1.299, allocations: 37.83 kB / 1.209 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of SimCode: time 1.223e-06/1.299, allocations: 2.781 kB / 1.209 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of Templates: time 0.02174/1.32, allocations: 12.27 MB / 1.221 GB, free: 5.582 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches