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.351/2.351, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001112/0.001112, allocations: 195.8 kB / 0.4902 GB, free: 2.277 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 0.7992 GB, free: 14.72 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.000977/0.0009769, allocations: 98 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.0005537, allocations: 13.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3158, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.384/5.7, allocations: 2.185 GB / 3.415 GB, free: 264.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004597/5.701, allocations: 100.4 kB / 3.415 GB, free: 264.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.826/10.53, allocations: 1.254 GB / 4.669 GB, free: 163.3 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.784e-06/10.53, allocations: 0 / 4.669 GB, free: 163.3 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0005576/10.53, allocations: 88.75 kB / 4.669 GB, free: 163.3 MB / 1.182 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.01174/10.54, allocations: 4.321 MB / 4.673 GB, free: 161.4 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/10.54, allocations: 9.125 kB / 4.673 GB, free: 161.4 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/10.54, allocations: 0.5323 MB / 4.674 GB, free: 161.2 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009809/10.55, allocations: 3.427 MB / 4.677 GB, free: 160.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/10.55, allocations: 163.9 kB / 4.677 GB, free: 160.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009069/10.55, allocations: 228.3 kB / 4.677 GB, free: 160.6 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006356/10.56, allocations: 2.58 MB / 4.68 GB, free: 160.3 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/10.56, allocations: 8.844 kB / 4.68 GB, free: 160.3 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/10.56, allocations: 90.25 kB / 4.68 GB, free: 160.3 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.373e-05/10.56, allocations: 69.39 kB / 4.68 GB, free: 160.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/10.56, allocations: 2.022 MB / 4.682 GB, free: 160.3 MB / 1.182 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.01526/10.58, allocations: 10.5 MB / 4.692 GB, free: 156.9 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/10.58, allocations: 1.54 MB / 4.694 GB, free: 156.8 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007689/10.58, allocations: 1.177 MB / 4.695 GB, free: 155.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/10.58, allocations: 48.38 kB / 4.695 GB, free: 155.5 MB / 1.182 GB Notification: Performance of pre-optimization done (n=126): time 3.477e-06/10.58, allocations: 2.594 kB / 4.695 GB, free: 155.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=134): time 0.01072/10.59, allocations: 6.8 MB / 4.702 GB, free: 153.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/10.59, allocations: 342.5 kB / 4.702 GB, free: 153 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004739/10.6, allocations: 3.083 MB / 4.705 GB, free: 152.8 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000341/10.6, allocations: 61.39 kB / 4.705 GB, free: 152.8 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/10.6, allocations: 1.469 MB / 4.707 GB, free: 152.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/10.6, allocations: 466.1 kB / 4.707 GB, free: 152.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-05/10.6, allocations: 31.22 kB / 4.707 GB, free: 152.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/10.6, allocations: 364.3 kB / 4.707 GB, free: 151.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/10.6, allocations: 1.079 MB / 4.708 GB, free: 151.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/10.6, allocations: 1.515 MB / 4.71 GB, free: 151.4 MB / 1.182 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.006634/10.61, allocations: 4.285 MB / 4.714 GB, free: 150.5 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/10.61, allocations: 3.469 kB / 4.714 GB, free: 150.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00466/10.61, allocations: 3.321 MB / 4.717 GB, free: 149.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006041/10.61, allocations: 2.933 MB / 4.72 GB, free: 146.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/10.61, allocations: 10.7 kB / 4.72 GB, free: 146.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/10.61, allocations: 147.4 kB / 4.72 GB, free: 146.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/10.62, allocations: 263.5 kB / 4.721 GB, free: 146.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007383/10.62, allocations: 1.289 MB / 4.722 GB, free: 145.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/10.62, allocations: 213.2 kB / 4.722 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/10.62, allocations: 83.95 kB / 4.722 GB, free: 145.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/10.62, allocations: 3.25 kB / 4.722 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003902/10.62, allocations: 3.412 MB / 4.725 GB, free: 145.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/10.62, allocations: 6.812 kB / 4.725 GB, free: 145.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004064/10.62, allocations: 151.3 kB / 4.726 GB, free: 145.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009684/10.62, allocations: 267.4 kB / 4.726 GB, free: 145.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007057/10.63, allocations: 1.292 MB / 4.727 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/10.63, allocations: 199.1 kB / 4.727 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/10.63, allocations: 80.39 kB / 4.727 GB, free: 144.2 MB / 1.182 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 () * Number of clocked 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.002243/10.63, allocations: 1.115 MB / 4.728 GB, free: 143.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008317/10.63, allocations: 324.3 kB / 4.729 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/10.64, allocations: 2.548 MB / 4.731 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/10.64, allocations: 20.92 kB / 4.731 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/10.64, allocations: 3.406 kB / 4.731 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002455/10.64, allocations: 2.293 MB / 4.734 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009148/10.65, allocations: 5.993 MB / 4.739 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/10.65, allocations: 11.41 kB / 4.739 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/10.65, allocations: 261.6 kB / 4.74 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/10.65, allocations: 13.25 kB / 4.74 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/10.65, allocations: 40.94 kB / 4.74 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/10.65, allocations: 14.12 kB / 4.74 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/10.65, allocations: 10.98 kB / 4.74 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/10.65, allocations: 4.687 MB / 4.744 GB, free: 140.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/10.66, allocations: 0.7171 MB / 4.745 GB, free: 140.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005862/10.66, allocations: 45.98 kB / 4.745 GB, free: 140.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/10.66, allocations: 173.9 kB / 4.745 GB, free: 140.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/10.66, allocations: 159.3 kB / 4.745 GB, free: 140.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/10.66, allocations: 62.11 kB / 4.745 GB, free: 140.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.00362/10.66, allocations: 2.396 MB / 4.748 GB, free: 140.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.5e-07/10.66, allocations: 0 / 4.748 GB, free: 140.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005371/10.67, allocations: 1.503 MB / 4.749 GB, free: 140.2 MB / 1.182 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.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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.00415/10.67, allocations: 2.863 MB / 4.752 GB, free: 139.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006468/10.68, allocations: 5.616 MB / 4.757 GB, free: 137.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/10.68, allocations: 1.531 kB / 4.757 GB, free: 137.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/10.68, allocations: 1.903 MB / 4.759 GB, free: 137.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007859/10.69, allocations: 1.607 MB / 4.761 GB, free: 137.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/10.7, allocations: 7.376 MB / 4.768 GB, free: 134.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/10.7, allocations: 2.152 MB / 4.77 GB, free: 133.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003155/10.7, allocations: 0.6459 MB / 4.771 GB, free: 133.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/10.71, allocations: 212.8 kB / 4.771 GB, free: 133.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.664e-06/10.71, allocations: 0 / 4.771 GB, free: 133.7 MB / 1.182 GB Notification: Performance of Templates: time 0.1309/10.84, allocations: 89.76 MB / 4.859 GB, free: 117.6 MB / 1.182 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