Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00563/0.00563, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001289/0.001289, allocations: 201.1 kB / 16.68 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.681/2.681, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4212, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005765/0.427, allocations: 2.991 MB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.109/1.536, allocations: 153.4 MB / 1.319 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006154/1.536, allocations: 7.188 kB / 1.319 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000596/1.537, allocations: 80.88 kB / 1.319 GB, free: 10.63 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/1.539, allocations: 298.1 kB / 1.32 GB, free: 10.47 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004127/1.543, allocations: 1.017 MB / 1.321 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001967/1.545, allocations: 0.7907 MB / 1.322 GB, free: 10.03 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/1.545, allocations: 87.67 kB / 1.322 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009939/1.546, allocations: 327 kB / 1.322 GB, free: 9.953 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/1.547, allocations: 338 kB / 1.322 GB, free: 9.887 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000412/1.548, allocations: 60.84 kB / 1.322 GB, free: 9.887 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003176/1.551, allocations: 0.7884 MB / 1.323 GB, free: 9.656 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004344/1.552, allocations: 152.2 kB / 1.323 GB, free: 9.566 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009839/1.553, allocations: 285.7 kB / 1.323 GB, free: 9.406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004517/1.557, allocations: 0.9809 MB / 1.324 GB, free: 9.051 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/1.557, allocations: 0 / 1.324 GB, free: 9.051 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.296e-06/1.557, allocations: 1.25 kB / 1.324 GB, free: 9.051 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.003e-05/1.557, allocations: 0 / 1.324 GB, free: 9.051 MB / 1.014 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.004641/1.562, allocations: 1.08 MB / 1.326 GB, free: 8.324 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.512e-05/1.562, allocations: 16.89 kB / 1.326 GB, free: 8.316 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/1.565, allocations: 258.2 kB / 1.326 GB, free: 8.285 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/1.566, allocations: 422.2 kB / 1.326 GB, free: 7.953 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/1.566, allocations: 90.7 kB / 1.326 GB, free: 7.879 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/1.566, allocations: 38.95 kB / 1.326 GB, free: 7.867 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/1.567, allocations: 371.7 kB / 1.327 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/1.567, allocations: 0 / 1.327 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/1.567, allocations: 13.03 kB / 1.327 GB, free: 7.688 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/1.567, allocations: 5.344 kB / 1.327 GB, free: 7.688 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008104/1.568, allocations: 257.7 kB / 1.327 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004638/1.573, allocations: 1.682 MB / 1.329 GB, free: 6.625 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008208/1.573, allocations: 253.6 kB / 1.329 GB, free: 6.527 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/1.574, allocations: 160.7 kB / 1.329 GB, free: 6.469 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/1.574, allocations: 11.48 kB / 1.329 GB, free: 6.461 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007748/1.575, allocations: 312 kB / 1.329 GB, free: 6.324 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/1.575, allocations: 0 / 1.329 GB, free: 6.324 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.008081/1.583, allocations: 1.497 MB / 1.331 GB, free: 5.832 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/1.583, allocations: 81.61 kB / 1.331 GB, free: 5.738 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/1.584, allocations: 461.2 kB / 1.331 GB, free: 5.504 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/1.584, allocations: 38.39 kB / 1.331 GB, free: 5.465 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/1.584, allocations: 207.4 kB / 1.331 GB, free: 5.293 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00011/1.584, allocations: 103.8 kB / 1.332 GB, free: 5.215 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/1.584, allocations: 149.3 kB / 1.332 GB, free: 5.156 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.585, allocations: 355.9 kB / 1.332 GB, free: 4.824 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007856/1.585, allocations: 275.5 kB / 1.332 GB, free: 4.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000971/1.586, allocations: 424.4 kB / 1.333 GB, free: 4.531 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007471/1.594, allocations: 1.845 MB / 1.335 GB, free: 3.875 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/1.594, allocations: 3.938 kB / 1.335 GB, free: 3.871 MB / 1.014 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007241/1.601, allocations: 1.582 MB / 1.336 GB, free: 3.359 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.937e-05/1.601, allocations: 61.41 kB / 1.336 GB, free: 3.297 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.601, allocations: 1.188 kB / 1.336 GB, free: 3.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/1.603, allocations: 396.5 kB / 1.337 GB, free: 3.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/1.604, allocations: 92.58 kB / 1.337 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006278/1.61, allocations: 4.688 MB / 1.341 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.611, allocations: 104.7 kB / 1.341 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/1.611, allocations: 39.17 kB / 1.341 GB, free: 14.79 MB / 1.029 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.000514/1.612, allocations: 178.9 kB / 1.341 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/1.612, allocations: 46.45 kB / 1.342 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/1.612, allocations: 45.53 kB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.612, allocations: 3.281 kB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.612, allocations: 1.094 kB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.612, allocations: 6.516 kB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007629/1.613, allocations: 477 kB / 1.342 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.613, allocations: 1.094 kB / 1.342 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/1.613, allocations: 29.69 kB / 1.342 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006513/1.614, allocations: 229.2 kB / 1.342 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.938e-05/1.614, allocations: 13.2 kB / 1.342 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/1.616, allocations: 1.486 MB / 1.344 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/1.616, allocations: 160 / 1.344 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00624/1.622, allocations: 1.3 MB / 1.345 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/1.623, allocations: 167.9 kB / 1.345 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/1.623, allocations: 6.25 kB / 1.345 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/1.623, allocations: 38.69 kB / 1.345 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/1.623, allocations: 41 kB / 1.345 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/1.624, allocations: 16.58 kB / 1.345 GB, free: 12.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000521/1.624, allocations: 300.6 kB / 1.346 GB, free: 12.16 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.624, allocations: 1.344 kB / 1.346 GB, free: 12.16 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001284/1.625, allocations: 159.8 kB / 1.346 GB, free: 12.13 MB / 1.029 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.0005009/1.626, allocations: 171.3 kB / 1.346 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003767/1.63, allocations: 1.052 MB / 1.347 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.63, allocations: 0 / 1.347 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.631, allocations: 328.6 kB / 1.347 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/1.632, allocations: 113.7 kB / 1.347 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/1.635, allocations: 0.9078 MB / 1.348 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/1.636, allocations: 0.8093 MB / 1.349 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004938/1.636, allocations: 48.41 kB / 1.349 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/1.636, allocations: 42.27 kB / 1.349 GB, free: 9.992 MB / 1.029 GB Notification: Performance of SimCode: time 1.112e-06/1.636, allocations: 3.938 kB / 1.349 GB, free: 9.988 MB / 1.029 GB Notification: Performance of Templates: time 0.02787/1.664, allocations: 12.33 MB / 1.361 GB, free: 4.453 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches