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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0063/0.0063, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001203/0.001203, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7347 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 68.12 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3949, allocations: 157.4 MB / 1.208 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004923/0.3999, allocations: 2.989 MB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.009/1.409, allocations: 153.4 MB / 1.361 GB, free: 8.902 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/1.409, allocations: 2.719 kB / 1.361 GB, free: 8.902 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004275/1.41, allocations: 88.05 kB / 1.361 GB, free: 8.848 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/1.411, allocations: 279.9 kB / 1.361 GB, free: 8.676 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/1.414, allocations: 1.01 MB / 1.362 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001184/1.415, allocations: 0.789 MB / 1.363 GB, free: 7.809 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/1.415, allocations: 87.45 kB / 1.363 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007107/1.416, allocations: 324.1 kB / 1.363 GB, free: 7.637 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008118/1.417, allocations: 344.5 kB / 1.363 GB, free: 7.484 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/1.417, allocations: 59.31 kB / 1.363 GB, free: 7.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/1.419, allocations: 0.7818 MB / 1.364 GB, free: 7.227 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/1.42, allocations: 153.1 kB / 1.364 GB, free: 7.137 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005934/1.42, allocations: 285.8 kB / 1.365 GB, free: 6.977 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/1.422, allocations: 0.9752 MB / 1.366 GB, free: 6.625 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.422, allocations: 0 / 1.366 GB, free: 6.625 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/1.422, allocations: 0 / 1.366 GB, free: 6.625 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.981e-05/1.422, allocations: 0 / 1.366 GB, free: 6.625 MB / 1.061 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.003321/1.426, allocations: 1.056 MB / 1.367 GB, free: 5.922 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.426, allocations: 10.72 kB / 1.367 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/1.428, allocations: 265.3 kB / 1.367 GB, free: 5.883 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009554/1.429, allocations: 415.5 kB / 1.367 GB, free: 5.559 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/1.429, allocations: 94.48 kB / 1.367 GB, free: 5.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.43, allocations: 48.03 kB / 1.367 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008715/1.43, allocations: 363.1 kB / 1.368 GB, free: 5.301 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.431, allocations: 3.938 kB / 1.368 GB, free: 5.297 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/1.431, allocations: 13.41 kB / 1.368 GB, free: 5.289 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.431, allocations: 5.344 kB / 1.368 GB, free: 5.289 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/1.431, allocations: 258.6 kB / 1.368 GB, free: 5.215 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/1.436, allocations: 1.678 MB / 1.37 GB, free: 4.227 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008239/1.437, allocations: 253.4 kB / 1.37 GB, free: 4.098 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/1.437, allocations: 162.9 kB / 1.37 GB, free: 4.012 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/1.437, allocations: 7.641 kB / 1.37 GB, free: 4.008 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000739/1.438, allocations: 299.3 kB / 1.37 GB, free: 3.805 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.735e-06/1.438, allocations: 1.375 kB / 1.37 GB, free: 3.805 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.008302/1.446, allocations: 1.502 MB / 1.372 GB, free: 2.957 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.447, allocations: 81.17 kB / 1.372 GB, free: 2.863 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/1.447, allocations: 454.2 kB / 1.372 GB, free: 2.578 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/1.447, allocations: 43.2 kB / 1.372 GB, free: 2.535 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/1.448, allocations: 200.8 kB / 1.373 GB, free: 2.355 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/1.448, allocations: 103.6 kB / 1.373 GB, free: 2.266 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/1.448, allocations: 153.9 kB / 1.373 GB, free: 2.172 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.448, allocations: 353.4 kB / 1.373 GB, free: 1.828 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008268/1.449, allocations: 278.1 kB / 1.373 GB, free: 1.688 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009744/1.45, allocations: 418.9 kB / 1.374 GB, free: 1.434 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/1.461, allocations: 1.856 MB / 1.376 GB, free: 392 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/1.461, allocations: 5.469 kB / 1.376 GB, free: 388 kB / 1.061 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.01177/1.473, allocations: 1.575 MB / 1.377 GB, free: 15.54 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.473, allocations: 62.44 kB / 1.377 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/1.473, allocations: 6.281 kB / 1.377 GB, free: 15.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/1.476, allocations: 396.8 kB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009365/1.477, allocations: 91.45 kB / 1.378 GB, free: 15.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008711/1.486, allocations: 4.675 MB / 1.382 GB, free: 10.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.488, allocations: 105.6 kB / 1.382 GB, free: 10.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/1.488, allocations: 37.86 kB / 1.382 GB, free: 10.64 MB / 1.076 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.0005629/1.488, allocations: 170.7 kB / 1.383 GB, free: 10.49 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/1.489, allocations: 46.89 kB / 1.383 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/1.489, allocations: 41.14 kB / 1.383 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.489, allocations: 6.938 kB / 1.383 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.489, allocations: 5.406 kB / 1.383 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.489, allocations: 3.938 kB / 1.383 GB, free: 10.42 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009882/1.49, allocations: 477.9 kB / 1.383 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/1.49, allocations: 0.9688 kB / 1.383 GB, free: 10.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/1.49, allocations: 25.28 kB / 1.383 GB, free: 10 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/1.491, allocations: 223 kB / 1.383 GB, free: 9.887 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/1.491, allocations: 19.61 kB / 1.383 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/1.494, allocations: 1.494 MB / 1.385 GB, free: 8.512 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.494, allocations: 1.125 kB / 1.385 GB, free: 8.512 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009548/1.504, allocations: 1.284 MB / 1.386 GB, free: 7.828 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005502/1.504, allocations: 165.4 kB / 1.386 GB, free: 7.664 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000239/1.504, allocations: 11.7 kB / 1.386 GB, free: 7.656 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008156/1.505, allocations: 37.08 kB / 1.386 GB, free: 7.641 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/1.505, allocations: 38.83 kB / 1.386 GB, free: 7.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/1.506, allocations: 12.73 kB / 1.386 GB, free: 7.613 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007495/1.506, allocations: 302.1 kB / 1.387 GB, free: 7.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.01e-07/1.506, allocations: 4 kB / 1.387 GB, free: 7.426 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001359/1.508, allocations: 165.2 kB / 1.387 GB, free: 7.395 MB / 1.076 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.0005336/1.508, allocations: 175.2 kB / 1.387 GB, free: 7.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004835/1.513, allocations: 1.04 MB / 1.388 GB, free: 6.566 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.513, allocations: 4.125 kB / 1.388 GB, free: 6.562 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/1.515, allocations: 327.2 kB / 1.388 GB, free: 6.402 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.516, allocations: 125.4 kB / 1.388 GB, free: 6.328 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/1.519, allocations: 0.8916 MB / 1.389 GB, free: 5.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/1.52, allocations: 0.8102 MB / 1.39 GB, free: 4.977 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005159/1.52, allocations: 59.53 kB / 1.39 GB, free: 4.945 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/1.521, allocations: 38.38 kB / 1.39 GB, free: 4.93 MB / 1.076 GB Notification: Performance of SimCode: time 9.52e-07/1.521, allocations: 0 / 1.39 GB, free: 4.93 MB / 1.076 GB Notification: Performance of Templates: time 0.02404/1.545, allocations: 12.76 MB / 1.403 GB, free: 14.43 MB / 1.092 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 -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/jenkins/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