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 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.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.001661/0.001662, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.001914/0.001914, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.641/2.641, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.688, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.2611/0.9492, allocations: 266.3 MB / 1.486 GB, free: 2.266 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02937/0.9786, allocations: 21.81 MB / 1.508 GB, free: 12.4 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003742/0.9823, allocations: 127.3 kB / 1.508 GB, free: 12.28 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.9865, allocations: 1.787 MB / 1.51 GB, free: 10.48 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009691/0.9962, allocations: 4.203 MB / 1.514 GB, free: 6.262 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006058/1.002, allocations: 2.726 MB / 1.516 GB, free: 3.555 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.009324/1.012, allocations: 8.054 MB / 1.524 GB, free: 11.48 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004261/1.016, allocations: 2.998 MB / 1.527 GB, free: 8.418 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007433/1.023, allocations: 3.602 MB / 1.531 GB, free: 4.809 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/1.027, allocations: 2.268 MB / 1.533 GB, free: 2.535 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0009479/1.028, allocations: 400 kB / 1.533 GB, free: 2.145 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00576/1.034, allocations: 2.753 MB / 1.536 GB, free: 15.39 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/1.035, allocations: 1.196 MB / 1.537 GB, free: 14.19 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.00312/1.038, allocations: 2.139 MB / 1.539 GB, free: 12.04 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.00993/1.048, allocations: 7.256 MB / 1.546 GB, free: 4.758 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.048, allocations: 3.938 kB / 1.546 GB, free: 4.754 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.202e-06/1.048, allocations: 0 / 1.546 GB, free: 4.754 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001461/1.048, allocations: 0 / 1.546 GB, free: 4.754 MB / 1.264 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.00853/1.057, allocations: 4.817 MB / 1.551 GB, free: 15.77 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.057, allocations: 12.03 kB / 1.551 GB, free: 15.76 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/1.059, allocations: 0.5519 MB / 1.552 GB, free: 15.2 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005091/1.064, allocations: 3.295 MB / 1.555 GB, free: 11.85 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/1.064, allocations: 168 kB / 1.555 GB, free: 11.69 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/1.065, allocations: 220 kB / 1.555 GB, free: 11.47 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/1.069, allocations: 2.589 MB / 1.558 GB, free: 8.797 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/1.069, allocations: 11.94 kB / 1.558 GB, free: 8.785 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/1.069, allocations: 84 kB / 1.558 GB, free: 8.703 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/1.069, allocations: 71.89 kB / 1.558 GB, free: 8.633 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/1.072, allocations: 1.991 MB / 1.56 GB, free: 6.641 MB / 1.279 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.5808/1.653, allocations: 10.73 MB / 1.57 GB, free: 330 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/1.656, allocations: 1.533 MB / 1.572 GB, free: 329.3 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/1.657, allocations: 1.037 MB / 1.573 GB, free: 328.9 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007264/1.658, allocations: 1.175 MB / 1.574 GB, free: 327.6 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.658, allocations: 50.61 kB / 1.574 GB, free: 327.6 MB / 1.279 GB Notification: Performance of pre-optimization done (n=124): time 3.707e-06/1.658, allocations: 0 / 1.574 GB, free: 327.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=132): time 0.009719/1.668, allocations: 6.241 MB / 1.58 GB, free: 324.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/1.668, allocations: 237.1 kB / 1.58 GB, free: 324.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005084/1.673, allocations: 3.457 MB / 1.584 GB, free: 323.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/1.673, allocations: 60.3 kB / 1.584 GB, free: 323.1 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.674, allocations: 1.491 MB / 1.585 GB, free: 322 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/1.675, allocations: 483.6 kB / 1.586 GB, free: 321.7 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/1.675, allocations: 328.9 kB / 1.586 GB, free: 321.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.913e-05/1.675, allocations: 303.1 kB / 1.586 GB, free: 321.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/1.677, allocations: 1.11 MB / 1.587 GB, free: 320.8 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/1.678, allocations: 1.495 MB / 1.589 GB, free: 320 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.008884/1.687, allocations: 6.961 MB / 1.596 GB, free: 316.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/1.687, allocations: 3.969 kB / 1.596 GB, free: 316.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004513/1.692, allocations: 3.39 MB / 1.599 GB, free: 314.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.692, allocations: 380 kB / 1.599 GB, free: 314.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.692, allocations: 9.375 kB / 1.599 GB, free: 314.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/1.692, allocations: 86.55 kB / 1.599 GB, free: 314.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.693, allocations: 274.3 kB / 1.6 GB, free: 314.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/1.695, allocations: 3.266 MB / 1.603 GB, free: 311 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.697, allocations: 99.89 kB / 1.603 GB, free: 311 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/1.697, allocations: 67.67 kB / 1.603 GB, free: 311 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.002296/1.7, allocations: 1.87 MB / 1.605 GB, free: 310.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001363/1.701, allocations: 1.49 MB / 1.606 GB, free: 308.8 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.007617/1.709, allocations: 6.919 MB / 1.613 GB, free: 302.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.09e-06/1.709, allocations: 0 / 1.613 GB, free: 302.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.003865/1.712, allocations: 3.368 MB / 1.616 GB, free: 298.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.713, allocations: 388.4 kB / 1.617 GB, free: 298.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.713, allocations: 8 kB / 1.617 GB, free: 298.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001346/1.713, allocations: 83.55 kB / 1.617 GB, free: 298.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009384/1.714, allocations: 277.3 kB / 1.617 GB, free: 298.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/1.715, allocations: 3.256 MB / 1.62 GB, free: 294.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/1.717, allocations: 115 kB / 1.62 GB, free: 294.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/1.717, allocations: 64 kB / 1.62 GB, free: 294.4 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.0004835/1.718, allocations: 467.1 kB / 1.621 GB, free: 293.9 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/1.718, allocations: 345.8 kB / 1.621 GB, free: 293.5 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003051/1.721, allocations: 2.529 MB / 1.624 GB, free: 291 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002129/1.724, allocations: 2.239 MB / 1.626 GB, free: 288.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.724, allocations: 0 / 1.626 GB, free: 288.6 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.725, allocations: 0.6939 MB / 1.626 GB, free: 287.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003494/1.725, allocations: 32 kB / 1.626 GB, free: 287.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.726, allocations: 65.72 kB / 1.627 GB, free: 287.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/1.726, allocations: 137.1 kB / 1.627 GB, free: 287.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003024/1.729, allocations: 2.716 MB / 1.629 GB, free: 284.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003862/1.733, allocations: 4.003 MB / 1.633 GB, free: 280.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001024/1.734, allocations: 1.033 MB / 1.634 GB, free: 279.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002761/1.737, allocations: 2.393 MB / 1.637 GB, free: 277.4 MB / 1.279 GB Notification: Performance of Backend: time 6.21e-07/1.737, allocations: 0 / 1.637 GB, free: 277.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006449/1.744, allocations: 6.068 MB / 1.642 GB, free: 271.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.009493/1.753, allocations: 7.485 MB / 1.65 GB, free: 263.7 MB / 1.279 GB Notification: Performance of Templates: time 0.08736/1.84, allocations: 75.82 MB / 1.724 GB, free: 188.7 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