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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.436/2.436, allocations: 390.3 MB / 402.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001366, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 221.3 MB / 0.7915 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 80.02 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.222e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3459, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.117/6.463, allocations: 2.185 GB / 3.404 GB, free: 101.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/6.463, allocations: 102.2 kB / 3.404 GB, free: 101.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.704/11.17, allocations: 1.251 GB / 4.656 GB, free: 153 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.235e-06/11.17, allocations: 0 / 4.656 GB, free: 153 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006517/11.17, allocations: 90.91 kB / 4.656 GB, free: 153 MB / 1.167 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.01161/11.18, allocations: 3.62 MB / 4.659 GB, free: 150.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/11.18, allocations: 13.53 kB / 4.659 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003498/11.18, allocations: 0.5314 MB / 4.66 GB, free: 150.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009144/11.19, allocations: 3.415 MB / 4.663 GB, free: 147.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/11.19, allocations: 162.9 kB / 4.663 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008816/11.19, allocations: 228.8 kB / 4.663 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004545/11.2, allocations: 2.513 MB / 4.666 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/11.2, allocations: 7.672 kB / 4.666 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/11.2, allocations: 90.3 kB / 4.666 GB, free: 146.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.467e-05/11.2, allocations: 74.86 kB / 4.666 GB, free: 146.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/11.2, allocations: 1.918 MB / 4.668 GB, free: 145.2 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.01607/11.22, allocations: 10.5 MB / 4.678 GB, free: 136.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/11.22, allocations: 1.446 MB / 4.68 GB, free: 136.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/11.22, allocations: 0.9933 MB / 4.681 GB, free: 135.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008912/11.22, allocations: 1.183 MB / 4.682 GB, free: 134.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/11.22, allocations: 48.78 kB / 4.682 GB, free: 134.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 4.067e-06/11.22, allocations: 0 / 4.682 GB, free: 134.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.009868/11.23, allocations: 5.325 MB / 4.687 GB, free: 131 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/11.23, allocations: 344.4 kB / 4.687 GB, free: 130.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005195/11.24, allocations: 3.048 MB / 4.69 GB, free: 128.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004795/11.24, allocations: 57.7 kB / 4.69 GB, free: 128.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/11.24, allocations: 1.479 MB / 4.692 GB, free: 127 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/11.24, allocations: 450.9 kB / 4.692 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-05/11.24, allocations: 34.52 kB / 4.692 GB, free: 126.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000102/11.24, allocations: 367.4 kB / 4.693 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/11.24, allocations: 1.039 MB / 4.694 GB, free: 125.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/11.24, allocations: 1.479 MB / 4.695 GB, free: 123.5 MB / 1.167 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.00669/11.25, allocations: 4.192 MB / 4.699 GB, free: 119.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/11.25, allocations: 3.938 kB / 4.699 GB, free: 119.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004529/11.25, allocations: 3.273 MB / 4.702 GB, free: 115.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006664/11.25, allocations: 2.931 MB / 4.705 GB, free: 112.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/11.25, allocations: 11.44 kB / 4.705 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/11.26, allocations: 153.6 kB / 4.705 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/11.26, allocations: 259.6 kB / 4.706 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007416/11.26, allocations: 1.293 MB / 4.707 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/11.26, allocations: 211 kB / 4.707 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/11.26, allocations: 83.86 kB / 4.707 GB, free: 110.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/11.26, allocations: 6.062 kB / 4.707 GB, free: 110.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003732/11.26, allocations: 3.344 MB / 4.71 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/11.26, allocations: 10.56 kB / 4.71 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004047/11.26, allocations: 155.5 kB / 4.711 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009177/11.27, allocations: 262 kB / 4.711 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006611/11.27, allocations: 1.291 MB / 4.712 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/11.27, allocations: 213.9 kB / 4.712 GB, free: 105.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/11.27, allocations: 83.98 kB / 4.712 GB, free: 105.2 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005137/11.27, allocations: 387.1 kB / 4.713 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/11.27, allocations: 324 kB / 4.713 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/11.27, allocations: 2.47 MB / 4.715 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/11.27, allocations: 22.06 kB / 4.715 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/11.27, allocations: 0 / 4.715 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002229/11.28, allocations: 2.221 MB / 4.718 GB, free: 99.58 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009718/11.29, allocations: 5.907 MB / 4.723 GB, free: 93.56 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/11.29, allocations: 7.812 kB / 4.723 GB, free: 93.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/11.29, allocations: 269.6 kB / 4.724 GB, free: 93.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-05/11.29, allocations: 12 kB / 4.724 GB, free: 93.29 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/11.29, allocations: 39.98 kB / 4.724 GB, free: 93.25 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/11.29, allocations: 17.84 kB / 4.724 GB, free: 93.23 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/11.29, allocations: 10.66 kB / 4.724 GB, free: 93.22 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005634/11.29, allocations: 4.563 MB / 4.728 GB, free: 88.41 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002647/11.3, allocations: 0.7116 MB / 4.729 GB, free: 87.68 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006936/11.3, allocations: 43.98 kB / 4.729 GB, free: 87.63 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/11.3, allocations: 174.9 kB / 4.729 GB, free: 87.47 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/11.3, allocations: 160.6 kB / 4.729 GB, free: 87.32 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/11.3, allocations: 55.98 kB / 4.729 GB, free: 87.27 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003816/11.3, allocations: 2.366 MB / 4.732 GB, free: 84.91 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/11.3, allocations: 0 / 4.732 GB, free: 84.91 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005982/11.31, allocations: 1.5 MB / 4.733 GB, free: 83.42 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004369/11.31, allocations: 2.886 MB / 4.736 GB, free: 80.94 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006505/11.32, allocations: 5.611 MB / 4.741 GB, free: 75.05 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.928e-05/11.32, allocations: 4 kB / 4.741 GB, free: 75.04 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002028/11.32, allocations: 1.864 MB / 4.743 GB, free: 73.11 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009082/11.33, allocations: 1.598 MB / 4.745 GB, free: 71.64 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/11.34, allocations: 5.276 MB / 4.75 GB, free: 66.44 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/11.34, allocations: 2.155 MB / 4.752 GB, free: 64.26 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004441/11.35, allocations: 1.062 MB / 4.753 GB, free: 63.24 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/11.35, allocations: 159.4 kB / 4.753 GB, free: 63.09 MB / 1.167 GB Notification: Performance of SimCode: time 1.273e-06/11.35, allocations: 0 / 4.753 GB, free: 63.09 MB / 1.167 GB Notification: Performance of Templates: time 0.9227/12.27, allocations: 100.5 MB / 4.851 GB, free: 189.3 MB / 1.198 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","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches