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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001488/0.001488, allocations: 102.9 kB / 16.27 MB, free: 5.996 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.00151/0.00151, allocations: 186.3 kB / 17.2 MB, free: 5.605 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.685/2.685, allocations: 482.4 MB / 0.7553 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001954, allocations: 65.58 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7522/0.7542, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004183/0.7584, allocations: 2.998 MB / 1.086 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.2285/0.9869, allocations: 153.4 MB / 1.236 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005289/0.9874, allocations: 4 kB / 1.236 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.9879, allocations: 95.14 kB / 1.236 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009609/0.9889, allocations: 278.1 kB / 1.236 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.9916, allocations: 1.001 MB / 1.237 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.9927, allocations: 0.7837 MB / 1.238 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.9929, allocations: 90.05 kB / 1.238 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/0.9933, allocations: 323 kB / 1.238 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000503/0.9939, allocations: 334.8 kB / 1.238 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.994, allocations: 60 kB / 1.239 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.9958, allocations: 0.7836 MB / 1.239 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.996, allocations: 155.5 kB / 1.239 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.9963, allocations: 290.7 kB / 1.24 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.9978, allocations: 0.9504 MB / 1.241 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.9979, allocations: 8 kB / 1.241 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9979, allocations: 0 / 1.241 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.9979, allocations: 0 / 1.241 GB, free: 12.89 MB / 0.9669 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.002836/1.001, allocations: 1.051 MB / 1.242 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/1.001, allocations: 12.03 kB / 1.242 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/1.003, allocations: 271.8 kB / 1.242 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006175/1.004, allocations: 400.8 kB / 1.242 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.004, allocations: 91.84 kB / 1.242 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/1.004, allocations: 43.98 kB / 1.242 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008075/1.005, allocations: 372.2 kB / 1.243 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/1.005, allocations: 0 / 1.243 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/1.005, allocations: 8 kB / 1.243 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/1.005, allocations: 4 kB / 1.243 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007533/1.006, allocations: 257.4 kB / 1.243 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/1.01, allocations: 1.696 MB / 1.245 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000791/1.011, allocations: 254.5 kB / 1.245 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/1.012, allocations: 160.8 kB / 1.245 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/1.012, allocations: 8 kB / 1.245 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000761/1.012, allocations: 300.8 kB / 1.245 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/1.012, allocations: 0 / 1.245 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.008299/1.021, allocations: 1.502 MB / 1.247 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/1.021, allocations: 89.05 kB / 1.247 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/1.021, allocations: 449.7 kB / 1.247 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.022, allocations: 49.69 kB / 1.247 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/1.022, allocations: 196.9 kB / 1.248 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/1.022, allocations: 94.66 kB / 1.248 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/1.022, allocations: 154.2 kB / 1.248 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.022, allocations: 354.8 kB / 1.248 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008266/1.023, allocations: 277.1 kB / 1.249 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009746/1.024, allocations: 421.7 kB / 1.249 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007832/1.032, allocations: 1.854 MB / 1.251 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.032, allocations: 0 / 1.251 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007545/1.04, allocations: 1.572 MB / 1.252 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/1.04, allocations: 59.39 kB / 1.252 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/1.04, allocations: 8 kB / 1.252 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/1.042, allocations: 399.1 kB / 1.253 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/1.042, allocations: 95.86 kB / 1.253 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006524/1.049, allocations: 4.681 MB / 1.257 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/1.05, allocations: 111.2 kB / 1.257 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/1.05, allocations: 31.97 kB / 1.257 GB, free: 10.85 MB / 0.9825 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.0003281/1.05, allocations: 169.6 kB / 1.258 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-05/1.05, allocations: 47.44 kB / 1.258 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.006e-05/1.05, allocations: 39.58 kB / 1.258 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.05, allocations: 4 kB / 1.258 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.05, allocations: 7.938 kB / 1.258 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.05, allocations: 3.984 kB / 1.258 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/1.051, allocations: 481.2 kB / 1.258 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.051, allocations: 0 / 1.258 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/1.051, allocations: 31.91 kB / 1.258 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006314/1.052, allocations: 237.5 kB / 1.258 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/1.052, allocations: 11.98 kB / 1.258 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/1.054, allocations: 1.487 MB / 1.26 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.054, allocations: 0 / 1.26 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006178/1.06, allocations: 1.288 MB / 1.261 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/1.06, allocations: 160.5 kB / 1.261 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.642e-05/1.061, allocations: 8 kB / 1.261 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004855/1.061, allocations: 35.95 kB / 1.261 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/1.061, allocations: 39.94 kB / 1.261 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/1.061, allocations: 15.98 kB / 1.261 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004052/1.062, allocations: 307.1 kB / 1.262 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.062, allocations: 0 / 1.262 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000681/1.062, allocations: 167.8 kB / 1.262 GB, free: 6.195 MB / 0.9825 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.0003643/1.063, allocations: 167.7 kB / 1.262 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003224/1.066, allocations: 1.057 MB / 1.263 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.066, allocations: 4 kB / 1.263 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.067, allocations: 319.9 kB / 1.263 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/1.068, allocations: 116.2 kB / 1.264 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/1.07, allocations: 0.9332 MB / 1.264 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/1.07, allocations: 0.8117 MB / 1.265 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/1.071, allocations: 39.42 kB / 1.265 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/1.071, allocations: 4 kB / 1.265 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.01717/1.088, allocations: 12.19 MB / 1.277 GB, free: 6.488 MB / 0.9981 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=400 -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