Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_11_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_11_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.001267/0.001267, allocations: 117.9 kB / 16.81 MB, free: 5.758 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.00129/0.00129, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.457/1.457, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 59.56 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3167, allocations: 168.7 MB / 1.262 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.2977/0.6144, allocations: 267.5 MB / 1.523 GB, free: 0.5 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03415/0.6485, allocations: 21.86 MB / 1.545 GB, free: 10.58 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004441/0.653, allocations: 127.3 kB / 1.545 GB, free: 10.46 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005195/0.6582, allocations: 1.798 MB / 1.546 GB, free: 8.648 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.6704, allocations: 4.196 MB / 1.551 GB, free: 4.438 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007256/0.6777, allocations: 2.77 MB / 1.553 GB, free: 1.684 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.6867/1.364, allocations: 7.98 MB / 1.561 GB, free: 27.66 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00475/1.369, allocations: 2.422 MB / 1.563 GB, free: 27.47 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00893/1.378, allocations: 3.616 MB / 1.567 GB, free: 27.47 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005516/1.384, allocations: 2.385 MB / 1.569 GB, free: 27.47 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001481/1.385, allocations: 402.2 kB / 1.57 GB, free: 27.47 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007447/1.392, allocations: 2.84 MB / 1.572 GB, free: 27.47 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0021/1.395, allocations: 1.227 MB / 1.574 GB, free: 27.47 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0042/1.399, allocations: 2.146 MB / 1.576 GB, free: 27.14 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.0126/1.411, allocations: 7.248 MB / 1.583 GB, free: 26.29 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.411, allocations: 0.9375 kB / 1.583 GB, free: 26.29 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.893e-06/1.411, allocations: 1.219 kB / 1.583 GB, free: 26.29 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.000154/1.412, allocations: 0.7812 kB / 1.583 GB, free: 26.29 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.009713/1.421, allocations: 4.827 MB / 1.588 GB, free: 23.78 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.421, allocations: 9.688 kB / 1.588 GB, free: 23.78 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/1.424, allocations: 0.557 MB / 1.588 GB, free: 23.55 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00586/1.43, allocations: 3.292 MB / 1.591 GB, free: 22.82 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/1.43, allocations: 162.3 kB / 1.591 GB, free: 22.82 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/1.43, allocations: 218.8 kB / 1.592 GB, free: 22.82 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/1.434, allocations: 2.592 MB / 1.594 GB, free: 22.57 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/1.434, allocations: 5.922 kB / 1.594 GB, free: 22.57 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/1.434, allocations: 87.28 kB / 1.594 GB, free: 22.57 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/1.434, allocations: 71.64 kB / 1.594 GB, free: 22.56 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/1.438, allocations: 1.997 MB / 1.596 GB, free: 22.55 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.01314/1.451, allocations: 10.73 MB / 1.607 GB, free: 18.68 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/1.453, allocations: 1.46 MB / 1.608 GB, free: 18.55 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/1.454, allocations: 1.001 MB / 1.609 GB, free: 18.53 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006765/1.455, allocations: 1.182 MB / 1.61 GB, free: 17.22 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.455, allocations: 45.31 kB / 1.61 GB, free: 17.18 MB / 1.264 GB Notification: Performance of pre-optimization done (n=124): time 3.446e-06/1.455, allocations: 2.406 kB / 1.61 GB, free: 17.18 MB / 1.264 GB Notification: Performance of matching and sorting (n=132): time 0.009418/1.464, allocations: 6.225 MB / 1.616 GB, free: 15.63 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/1.464, allocations: 238.4 kB / 1.617 GB, free: 15.38 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/1.469, allocations: 3.456 MB / 1.62 GB, free: 15.13 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002472/1.469, allocations: 57.8 kB / 1.62 GB, free: 15.1 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/1.47, allocations: 1.497 MB / 1.622 GB, free: 14.71 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000385/1.47, allocations: 472 kB / 1.622 GB, free: 14.41 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004855/1.471, allocations: 331 kB / 1.622 GB, free: 14.38 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 3.633e-05/1.471, allocations: 306 kB / 1.623 GB, free: 14.08 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/1.472, allocations: 1.123 MB / 1.624 GB, free: 14.06 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.474, allocations: 1.494 MB / 1.625 GB, free: 13.71 MB / 1.264 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.00855/1.482, allocations: 6.964 MB / 1.632 GB, free: 12.01 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.482, allocations: 0 / 1.632 GB, free: 12.01 MB / 1.264 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004434/1.487, allocations: 3.381 MB / 1.635 GB, free: 11.36 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/1.487, allocations: 391.1 kB / 1.636 GB, free: 10.99 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.487, allocations: 9.156 kB / 1.636 GB, free: 10.98 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/1.487, allocations: 82.91 kB / 1.636 GB, free: 10.97 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.488, allocations: 280.8 kB / 1.636 GB, free: 10.97 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/1.49, allocations: 3.257 MB / 1.639 GB, free: 8.285 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/1.492, allocations: 96.95 kB / 1.639 GB, free: 8.281 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/1.493, allocations: 71.17 kB / 1.639 GB, free: 8.281 MB / 1.264 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.002592/1.495, allocations: 1.864 MB / 1.641 GB, free: 8.195 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001493/1.497, allocations: 1.486 MB / 1.643 GB, free: 7.848 MB / 1.264 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.008678/1.505, allocations: 6.922 MB / 1.649 GB, free: 6.137 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.883e-06/1.505, allocations: 4.781 kB / 1.649 GB, free: 6.133 MB / 1.264 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004381/1.51, allocations: 3.376 MB / 1.653 GB, free: 4.996 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/1.51, allocations: 384.7 kB / 1.653 GB, free: 4.602 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.51, allocations: 4.688 kB / 1.653 GB, free: 4.602 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/1.51, allocations: 88.73 kB / 1.653 GB, free: 4.562 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.511, allocations: 279.7 kB / 1.653 GB, free: 4.551 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/1.513, allocations: 3.255 MB / 1.657 GB, free: 1.531 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/1.515, allocations: 102.6 kB / 1.657 GB, free: 1.508 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/1.516, allocations: 79.03 kB / 1.657 GB, free: 1.492 MB / 1.264 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.0005441/1.516, allocations: 461.5 kB / 1.657 GB, free: 1.07 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008866/1.517, allocations: 349.6 kB / 1.658 GB, free: 0.8828 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/1.521, allocations: 2.598 MB / 1.66 GB, free: 15.99 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002931/1.524, allocations: 2.236 MB / 1.662 GB, free: 14.82 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.524, allocations: 1.062 kB / 1.662 GB, free: 14.82 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001892/1.526, allocations: 0.6843 MB / 1.663 GB, free: 14.34 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009584/1.527, allocations: 32.78 kB / 1.663 GB, free: 14.32 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.529, allocations: 71.41 kB / 1.663 GB, free: 14.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/1.529, allocations: 139.1 kB / 1.663 GB, free: 14.27 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004295/1.533, allocations: 2.717 MB / 1.666 GB, free: 12.8 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005956/1.539, allocations: 3.997 MB / 1.67 GB, free: 10.87 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001326/1.541, allocations: 0.9795 MB / 1.671 GB, free: 10.48 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004572/1.545, allocations: 2.39 MB / 1.673 GB, free: 9.543 MB / 1.279 GB Notification: Performance of Backend: time 2.31e-07/1.545, allocations: 1 kB / 1.673 GB, free: 9.543 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.556, allocations: 5.822 MB / 1.679 GB, free: 6.191 MB / 1.279 GB Notification: Performance of SimCode: time 0.01506/1.571, allocations: 7.496 MB / 1.686 GB, free: 2.277 MB / 1.279 GB Notification: Performance of Templates: time 0.136/1.707, allocations: 76.86 MB / 1.761 GB, free: 11.45 MB / 1.357 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches