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.001911/0.001911, allocations: 109.6 kB / 15.99 MB, free: 6.367 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.001986/0.001987, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.633/2.633, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 66.77 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3289, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00457/0.3335, allocations: 3.049 MB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6469/0.9804, allocations: 151.2 MB / 1.215 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.9809, allocations: 3.469 kB / 1.215 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.9814, allocations: 72.48 kB / 1.215 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.9826, allocations: 256.7 kB / 1.215 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002828/0.9854, allocations: 0.937 MB / 1.216 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.9866, allocations: 0.7799 MB / 1.217 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.9869, allocations: 91.45 kB / 1.217 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.9875, allocations: 323.9 kB / 1.217 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000626/0.9881, allocations: 336.7 kB / 1.217 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.9883, allocations: 60.5 kB / 1.218 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001901/0.9902, allocations: 0.8282 MB / 1.218 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.9904, allocations: 153.5 kB / 1.219 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004291/0.9909, allocations: 291.1 kB / 1.219 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.992, allocations: 0.6962 MB / 1.219 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.992, allocations: 0 / 1.219 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.695e-06/0.992, allocations: 5 kB / 1.219 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.9921, allocations: 0 / 1.219 GB, free: 7.766 MB / 0.9356 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.003236/0.9953, allocations: 1.053 MB / 1.221 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.9954, allocations: 25.08 kB / 1.221 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.998, allocations: 261.6 kB / 1.221 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.9987, allocations: 404.7 kB / 1.221 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.9988, allocations: 95.14 kB / 1.221 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.9989, allocations: 35.56 kB / 1.221 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008719/0.9998, allocations: 374 kB / 1.222 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.9998, allocations: 3 kB / 1.222 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.9998, allocations: 10.73 kB / 1.222 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.9999, allocations: 5.094 kB / 1.222 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007288/1.001, allocations: 265.7 kB / 1.222 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/1.005, allocations: 1.683 MB / 1.224 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/1.006, allocations: 254.3 kB / 1.224 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/1.006, allocations: 163.3 kB / 1.224 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/1.006, allocations: 7.906 kB / 1.224 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007601/1.007, allocations: 291.7 kB / 1.224 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.524e-06/1.007, allocations: 0 / 1.224 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008491/1.016, allocations: 1.502 MB / 1.226 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.016, allocations: 88.97 kB / 1.226 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/1.016, allocations: 454.5 kB / 1.226 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001813/1.017, allocations: 44.77 kB / 1.226 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/1.017, allocations: 200.4 kB / 1.226 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.017, allocations: 94.08 kB / 1.227 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/1.017, allocations: 158.2 kB / 1.227 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002293/1.017, allocations: 359.3 kB / 1.227 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007663/1.018, allocations: 270.5 kB / 1.227 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/1.019, allocations: 417.8 kB / 1.228 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007768/1.027, allocations: 1.85 MB / 1.23 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/1.027, allocations: 3.938 kB / 1.23 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00771/1.035, allocations: 1.581 MB / 1.231 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/1.035, allocations: 59.41 kB / 1.231 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.035, allocations: 4 kB / 1.231 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/1.037, allocations: 399.1 kB / 1.231 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/1.037, allocations: 99.8 kB / 1.232 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/1.044, allocations: 4.679 MB / 1.236 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.045, allocations: 103.3 kB / 1.236 GB, free: 8.344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/1.045, allocations: 35.95 kB / 1.236 GB, free: 8.309 MB / 0.9512 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.0003302/1.046, allocations: 175.4 kB / 1.236 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/1.046, allocations: 47.42 kB / 1.237 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/1.046, allocations: 43.58 kB / 1.237 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.046, allocations: 0 / 1.237 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.046, allocations: 4 kB / 1.237 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.046, allocations: 3.938 kB / 1.237 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/1.046, allocations: 473.2 kB / 1.237 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/1.046, allocations: 3.938 kB / 1.237 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/1.047, allocations: 27.97 kB / 1.237 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006929/1.047, allocations: 245.5 kB / 1.237 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/1.047, allocations: 11.98 kB / 1.237 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/1.049, allocations: 1.484 MB / 1.239 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.049, allocations: 0 / 1.239 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006645/1.056, allocations: 1.285 MB / 1.24 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/1.056, allocations: 164.4 kB / 1.24 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/1.056, allocations: 19.92 kB / 1.24 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/1.057, allocations: 35.95 kB / 1.24 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.057, allocations: 35.95 kB / 1.24 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/1.057, allocations: 15.98 kB / 1.24 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004892/1.058, allocations: 307.1 kB / 1.241 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.058, allocations: 0 / 1.241 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007259/1.058, allocations: 163.9 kB / 1.241 GB, free: 3.645 MB / 0.9512 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.0003766/1.059, allocations: 169.5 kB / 1.241 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00346/1.062, allocations: 1.057 MB / 1.242 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.062, allocations: 4 kB / 1.242 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/1.064, allocations: 324.4 kB / 1.242 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/1.065, allocations: 117.7 kB / 1.242 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/1.067, allocations: 1.032 MB / 1.243 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/1.067, allocations: 0.8074 MB / 1.244 GB, free: 28 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/1.067, allocations: 39.47 kB / 1.244 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/1.067, allocations: 0 / 1.244 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.01747/1.085, allocations: 12.19 MB / 1.256 GB, free: 3.836 MB / 0.9669 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=400 -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/jenkins1/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