Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001752/0.001752, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.36/1.36, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.623/2.623, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.91 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6707/0.6722, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly): time 0.2254/0.8977, allocations: 228.2 MB / 1.449 GB, free: 8.465 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02057/0.9183, allocations: 14.59 MB / 1.463 GB, free: 9.828 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.9208, allocations: 79.56 kB / 1.464 GB, free: 9.75 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.9236, allocations: 1.149 MB / 1.465 GB, free: 8.594 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006477/0.9301, allocations: 2.814 MB / 1.467 GB, free: 5.77 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004108/0.9342, allocations: 1.818 MB / 1.469 GB, free: 3.965 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.006008/0.9403, allocations: 5.027 MB / 1.474 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.9428, allocations: 1.916 MB / 1.476 GB, free: 12.97 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004877/0.9477, allocations: 2.469 MB / 1.478 GB, free: 10.49 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.9497, allocations: 1.42 MB / 1.48 GB, free: 9.07 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.9501, allocations: 240 kB / 1.48 GB, free: 8.836 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.9541, allocations: 2.168 MB / 1.482 GB, free: 6.664 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006866/0.9548, allocations: 0.7401 MB / 1.483 GB, free: 5.922 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.9561, allocations: 1.295 MB / 1.484 GB, free: 4.621 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005591/0.9617, allocations: 4.498 MB / 1.488 GB, free: 112 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9618, allocations: 0 / 1.488 GB, free: 112 kB / 1.201 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9618, allocations: 0 / 1.488 GB, free: 112 kB / 1.201 GB Notification: Performance of Transformations before backend: time 5.99e-05/0.9618, allocations: 0 / 1.488 GB, free: 112 kB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.004572/0.9664, allocations: 3.022 MB / 1.491 GB, free: 12.98 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.9665, allocations: 8.031 kB / 1.491 GB, free: 12.97 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.9681, allocations: 402.1 kB / 1.492 GB, free: 12.57 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.9712, allocations: 1.967 MB / 1.494 GB, free: 10.56 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.9713, allocations: 114.4 kB / 1.494 GB, free: 10.45 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.9715, allocations: 136 kB / 1.494 GB, free: 10.31 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.9741, allocations: 1.61 MB / 1.496 GB, free: 8.648 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.9741, allocations: 3.984 kB / 1.496 GB, free: 8.645 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.9743, allocations: 56 kB / 1.496 GB, free: 8.59 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-05/0.9743, allocations: 46.53 kB / 1.496 GB, free: 8.543 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.9764, allocations: 1.247 MB / 1.497 GB, free: 7.289 MB / 1.217 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008187/0.9846, allocations: 6.623 MB / 1.503 GB, free: 316 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.9862, allocations: 0.9486 MB / 1.504 GB, free: 15.33 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009564/0.9871, allocations: 0.6418 MB / 1.505 GB, free: 14.69 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007001/0.9879, allocations: 0.6889 MB / 1.506 GB, free: 13.85 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.9879, allocations: 39.22 kB / 1.506 GB, free: 13.8 MB / 1.232 GB Notification: Performance of pre-optimization done (n=82): time 3.627e-06/0.9879, allocations: 0 / 1.506 GB, free: 13.8 MB / 1.232 GB Notification: Performance of matching and sorting (n=84): time 0.00581/0.9937, allocations: 3.637 MB / 1.509 GB, free: 10.05 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.9938, allocations: 149.2 kB / 1.509 GB, free: 9.879 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002589/0.9964, allocations: 2.016 MB / 1.511 GB, free: 7.824 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 8.572e-05/0.9965, allocations: 41.7 kB / 1.511 GB, free: 7.777 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007475/0.9973, allocations: 0.8998 MB / 1.512 GB, free: 6.871 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.9975, allocations: 301.4 kB / 1.512 GB, free: 6.574 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003352/0.9979, allocations: 202.6 kB / 1.513 GB, free: 6.371 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.998, allocations: 349.9 kB / 1.513 GB, free: 6.023 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008994/0.9989, allocations: 0.6178 MB / 1.514 GB, free: 5.402 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/1, allocations: 0.8478 MB / 1.514 GB, free: 4.477 MB / 1.232 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006295/1.006, allocations: 3.903 MB / 1.518 GB, free: 384 kB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.006, allocations: 4 kB / 1.518 GB, free: 380 kB / 1.232 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002774/1.009, allocations: 1.877 MB / 1.52 GB, free: 14.45 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.009, allocations: 194.2 kB / 1.52 GB, free: 14.22 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.009, allocations: 4 kB / 1.52 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.009, allocations: 8.469 kB / 1.52 GB, free: 14.21 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/1.01, allocations: 175.7 kB / 1.52 GB, free: 14.04 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/1.01, allocations: 11.98 kB / 1.52 GB, free: 14.02 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.011, allocations: 55.92 kB / 1.521 GB, free: 13.97 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.011, allocations: 47.92 kB / 1.521 GB, free: 13.92 MB / 1.248 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001677/1.013, allocations: 1.089 MB / 1.522 GB, free: 12.83 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001119/1.014, allocations: 0.8477 MB / 1.522 GB, free: 11.91 MB / 1.248 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00619/1.02, allocations: 3.88 MB / 1.526 GB, free: 7.836 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/1.02, allocations: 0 / 1.526 GB, free: 7.836 MB / 1.248 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002841/1.023, allocations: 1.873 MB / 1.528 GB, free: 5.918 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/1.023, allocations: 194.2 kB / 1.528 GB, free: 5.691 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.023, allocations: 4 kB / 1.528 GB, free: 5.688 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/1.023, allocations: 8 kB / 1.528 GB, free: 5.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/1.024, allocations: 176.2 kB / 1.528 GB, free: 5.508 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.128e-05/1.024, allocations: 19.92 kB / 1.528 GB, free: 5.488 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.026, allocations: 59.95 kB / 1.529 GB, free: 5.43 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.026, allocations: 43.92 kB / 1.529 GB, free: 5.387 MB / 1.248 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003671/1.026, allocations: 337.1 kB / 1.529 GB, free: 5.031 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/1.027, allocations: 206.7 kB / 1.529 GB, free: 4.828 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/1.029, allocations: 1.481 MB / 1.531 GB, free: 3.32 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001879/1.031, allocations: 1.514 MB / 1.532 GB, free: 1.703 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.031, allocations: 0 / 1.532 GB, free: 1.703 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/1.032, allocations: 447.5 kB / 1.532 GB, free: 1.246 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003181/1.032, allocations: 23.94 kB / 1.532 GB, free: 1.223 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/1.033, allocations: 42.22 kB / 1.532 GB, free: 1.184 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/1.033, allocations: 76.56 kB / 1.533 GB, free: 1.109 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002555/1.036, allocations: 1.584 MB / 1.534 GB, free: 15.46 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00321/1.039, allocations: 2.363 MB / 1.536 GB, free: 13.06 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008416/1.04, allocations: 0.595 MB / 1.537 GB, free: 12.47 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00221/1.042, allocations: 1.398 MB / 1.538 GB, free: 11.05 MB / 1.264 GB Notification: Performance of Backend: time 5.71e-07/1.042, allocations: 0 / 1.538 GB, free: 11.05 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005127/1.047, allocations: 3.183 MB / 1.541 GB, free: 7.723 MB / 1.264 GB Notification: Performance of SimCode: time 0.007993/1.055, allocations: 4.688 MB / 1.546 GB, free: 2.949 MB / 1.264 GB Notification: Performance of Templates: time 0.6139/1.669, allocations: 47.66 MB / 1.593 GB, free: 324 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches