Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 108.7 kB / 16.41 MB, free: 6.473 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.001825/0.001825, allocations: 190.6 kB / 17.35 MB, free: 5.711 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.495/2.495, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7226, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.2662/0.9887, allocations: 266.3 MB / 1.468 GB, free: 2.355 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03085/1.02, allocations: 21.81 MB / 1.49 GB, free: 12.49 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003897/1.024, allocations: 127.3 kB / 1.49 GB, free: 12.36 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.004721/1.028, allocations: 1.752 MB / 1.491 GB, free: 10.6 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/1.039, allocations: 3.98 MB / 1.495 GB, free: 6.605 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00653/1.046, allocations: 2.724 MB / 1.498 GB, free: 3.898 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.0101/1.056, allocations: 8.046 MB / 1.506 GB, free: 11.84 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004777/1.06, allocations: 3.006 MB / 1.509 GB, free: 8.77 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007635/1.068, allocations: 3.507 MB / 1.512 GB, free: 5.254 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003724/1.072, allocations: 2.269 MB / 1.514 GB, free: 2.98 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/1.073, allocations: 400 kB / 1.515 GB, free: 2.59 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005986/1.079, allocations: 2.745 MB / 1.517 GB, free: 15.84 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001495/1.08, allocations: 1.188 MB / 1.519 GB, free: 14.65 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003524/1.084, allocations: 2.142 MB / 1.521 GB, free: 12.5 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01045/1.094, allocations: 7.217 MB / 1.528 GB, free: 5.258 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.094, allocations: 4 kB / 1.528 GB, free: 5.254 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.205e-06/1.095, allocations: 4 kB / 1.528 GB, free: 5.25 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0002214/1.095, allocations: 0 / 1.528 GB, free: 5.25 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01069/1.105, allocations: 4.684 MB / 1.532 GB, free: 416 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.105, allocations: 8.031 kB / 1.532 GB, free: 408 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/1.108, allocations: 0.5379 MB / 1.533 GB, free: 15.86 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/1.114, allocations: 3.265 MB / 1.536 GB, free: 12.53 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.114, allocations: 164 kB / 1.536 GB, free: 12.37 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/1.114, allocations: 223.9 kB / 1.536 GB, free: 12.15 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/1.118, allocations: 2.593 MB / 1.539 GB, free: 9.469 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/1.119, allocations: 3.938 kB / 1.539 GB, free: 9.465 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/1.119, allocations: 88 kB / 1.539 GB, free: 9.379 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.451e-05/1.119, allocations: 67.89 kB / 1.539 GB, free: 9.312 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/1.122, allocations: 2.002 MB / 1.541 GB, free: 7.309 MB / 1.264 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.01369/1.136, allocations: 10.71 MB / 1.551 GB, free: 12.09 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/1.138, allocations: 1.526 MB / 1.553 GB, free: 10.54 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/1.139, allocations: 1.035 MB / 1.554 GB, free: 9.504 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009236/1.14, allocations: 1.172 MB / 1.555 GB, free: 8.074 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.14, allocations: 51.56 kB / 1.555 GB, free: 8.016 MB / 1.279 GB Notification: Performance of pre-optimization done (n=124): time 3.336e-06/1.14, allocations: 0 / 1.555 GB, free: 8.016 MB / 1.279 GB Notification: Performance of matching and sorting (n=132): time 0.009638/1.15, allocations: 6.179 MB / 1.561 GB, free: 1.668 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/1.15, allocations: 238.6 kB / 1.561 GB, free: 1.387 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5479/1.698, allocations: 3.448 MB / 1.565 GB, free: 347.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0003131/1.698, allocations: 58.39 kB / 1.565 GB, free: 347.6 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/1.7, allocations: 1.481 MB / 1.566 GB, free: 346.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/1.7, allocations: 455 kB / 1.567 GB, free: 346.6 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006269/1.701, allocations: 324.2 kB / 1.567 GB, free: 346.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.766e-05/1.701, allocations: 302.8 kB / 1.567 GB, free: 346.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/1.703, allocations: 1.115 MB / 1.568 GB, free: 345.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/1.704, allocations: 1.492 MB / 1.57 GB, free: 345 MB / 1.279 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.009398/1.714, allocations: 6.962 MB / 1.577 GB, free: 341.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/1.714, allocations: 4.188 kB / 1.577 GB, free: 341.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004371/1.718, allocations: 3.381 MB / 1.58 GB, free: 339.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/1.718, allocations: 382.6 kB / 1.58 GB, free: 339.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.718, allocations: 3.938 kB / 1.58 GB, free: 339.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/1.719, allocations: 93.17 kB / 1.58 GB, free: 339.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/1.72, allocations: 272.1 kB / 1.581 GB, free: 339.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/1.721, allocations: 3.261 MB / 1.584 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/1.723, allocations: 96.55 kB / 1.584 GB, free: 336.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/1.724, allocations: 67.28 kB / 1.584 GB, free: 336.1 MB / 1.279 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.002401/1.726, allocations: 1.868 MB / 1.586 GB, free: 335.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001444/1.728, allocations: 1.488 MB / 1.587 GB, free: 334.4 MB / 1.279 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.00835/1.736, allocations: 6.913 MB / 1.594 GB, free: 330.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.673e-06/1.736, allocations: 3.969 kB / 1.594 GB, free: 330.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004048/1.74, allocations: 3.355 MB / 1.597 GB, free: 327.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/1.74, allocations: 394.8 kB / 1.598 GB, free: 327.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/1.74, allocations: 8 kB / 1.598 GB, free: 327.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/1.74, allocations: 84.53 kB / 1.598 GB, free: 327.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009569/1.741, allocations: 273 kB / 1.598 GB, free: 327.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/1.743, allocations: 3.257 MB / 1.601 GB, free: 323.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/1.745, allocations: 111.3 kB / 1.601 GB, free: 323.7 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/1.745, allocations: 67.61 kB / 1.601 GB, free: 323.6 MB / 1.279 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: 28 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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.0004834/1.746, allocations: 472.9 kB / 1.602 GB, free: 323.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000607/1.746, allocations: 316.1 kB / 1.602 GB, free: 322.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003206/1.75, allocations: 2.531 MB / 1.605 GB, free: 320.5 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0022/1.752, allocations: 2.24 MB / 1.607 GB, free: 318.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.752, allocations: 3.406 kB / 1.607 GB, free: 318.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/1.753, allocations: 0.6738 MB / 1.608 GB, free: 317.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/1.754, allocations: 32 kB / 1.608 GB, free: 317.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.755, allocations: 68.06 kB / 1.608 GB, free: 317.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/1.755, allocations: 145.7 kB / 1.608 GB, free: 317.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003095/1.758, allocations: 2.713 MB / 1.61 GB, free: 315 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004061/1.762, allocations: 3.984 MB / 1.614 GB, free: 311.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001053/1.763, allocations: 1.035 MB / 1.615 GB, free: 310.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002806/1.766, allocations: 2.389 MB / 1.618 GB, free: 307.8 MB / 1.279 GB Notification: Performance of Backend: time 1.302e-06/1.766, allocations: 0 / 1.618 GB, free: 307.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007109/1.773, allocations: 6.058 MB / 1.624 GB, free: 301.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.01063/1.784, allocations: 7.382 MB / 1.631 GB, free: 294.2 MB / 1.279 GB Notification: Performance of Templates: time 0.09015/1.874, allocations: 75.15 MB / 1.704 GB, free: 220 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches