Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001106/0.001106, allocations: 173 kB / 492.3 MB, free: 0.6094 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.586/1.586, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0009708/0.0009708, allocations: 85.84 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.401e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3122, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.749/6.062, allocations: 2.183 GB / 3.395 GB, free: 95.15 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/6.062, allocations: 99.66 kB / 3.395 GB, free: 95.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.184/9.246, allocations: 0.8846 GB / 4.28 GB, free: 84.45 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.464e-06/9.246, allocations: 0 / 4.28 GB, free: 84.45 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002033/9.246, allocations: 55.98 kB / 4.28 GB, free: 84.39 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.004849/9.251, allocations: 2.362 MB / 4.282 GB, free: 81.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/9.251, allocations: 8.031 kB / 4.282 GB, free: 81.93 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/9.253, allocations: 372.8 kB / 4.282 GB, free: 81.56 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/9.257, allocations: 2.056 MB / 4.284 GB, free: 79.46 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/9.257, allocations: 102.6 kB / 4.284 GB, free: 79.36 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/9.257, allocations: 140 kB / 4.285 GB, free: 79.22 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/9.259, allocations: 1.564 MB / 4.286 GB, free: 77.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/9.259, allocations: 3.938 kB / 4.286 GB, free: 77.59 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/9.259, allocations: 55.94 kB / 4.286 GB, free: 77.54 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.855e-05/9.259, allocations: 54.53 kB / 4.286 GB, free: 77.48 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/9.261, allocations: 1.185 MB / 4.287 GB, free: 76.29 MB / 1.151 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.007966/9.269, allocations: 6.467 MB / 4.294 GB, free: 69.53 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/9.27, allocations: 0.8763 MB / 4.295 GB, free: 68.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006398/9.271, allocations: 0.616 MB / 4.295 GB, free: 68.02 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/9.271, allocations: 0.6851 MB / 4.296 GB, free: 67.19 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/9.272, allocations: 43.72 kB / 4.296 GB, free: 67.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 3.527e-06/9.272, allocations: 3.938 kB / 4.296 GB, free: 67.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.005198/9.277, allocations: 3.085 MB / 4.299 GB, free: 63.93 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/9.277, allocations: 196.7 kB / 4.299 GB, free: 63.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/9.28, allocations: 1.781 MB / 4.301 GB, free: 61.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/9.28, allocations: 45.7 kB / 4.301 GB, free: 61.83 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006661/9.281, allocations: 0.8831 MB / 4.302 GB, free: 60.93 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/9.281, allocations: 299.7 kB / 4.302 GB, free: 60.64 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/9.281, allocations: 16 kB / 4.302 GB, free: 60.62 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001117/9.281, allocations: 345.9 kB / 4.302 GB, free: 60.28 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/9.282, allocations: 0.5799 MB / 4.303 GB, free: 59.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000858/9.283, allocations: 0.8367 MB / 4.304 GB, free: 58.77 MB / 1.151 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.004048/9.287, allocations: 2.376 MB / 4.306 GB, free: 56.31 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/9.287, allocations: 0 / 4.306 GB, free: 56.31 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002392/9.289, allocations: 1.792 MB / 4.308 GB, free: 54.47 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006231/9.29, allocations: 1.658 MB / 4.309 GB, free: 52.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/9.29, allocations: 4 kB / 4.309 GB, free: 52.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.744e-05/9.29, allocations: 16 kB / 4.309 GB, free: 52.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/9.29, allocations: 179.7 kB / 4.31 GB, free: 52.42 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-05/9.291, allocations: 8 kB / 4.31 GB, free: 52.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/9.292, allocations: 131.6 kB / 4.31 GB, free: 52.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/9.293, allocations: 47.98 kB / 4.31 GB, free: 52.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/9.293, allocations: 4 kB / 4.31 GB, free: 52.23 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002081/9.295, allocations: 1.793 MB / 4.312 GB, free: 50.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/9.295, allocations: 4 kB / 4.312 GB, free: 50.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/9.295, allocations: 8 kB / 4.312 GB, free: 50.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/9.295, allocations: 175.7 kB / 4.312 GB, free: 50.22 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/9.295, allocations: 7.984 kB / 4.312 GB, free: 50.21 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/9.297, allocations: 131.9 kB / 4.312 GB, free: 50.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/9.297, allocations: 47.98 kB / 4.312 GB, free: 50.04 MB / 1.151 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: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0003473/9.298, allocations: 261.5 kB / 4.312 GB, free: 49.76 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/9.298, allocations: 205.5 kB / 4.312 GB, free: 49.55 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/9.301, allocations: 1.438 MB / 4.314 GB, free: 48.09 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/9.301, allocations: 11.98 kB / 4.314 GB, free: 48.08 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/9.301, allocations: 0 / 4.314 GB, free: 48.08 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/9.302, allocations: 1.495 MB / 4.315 GB, free: 46.48 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/9.308, allocations: 3.589 MB / 4.319 GB, free: 42.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/9.308, allocations: 4 kB / 4.319 GB, free: 42.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006931/9.309, allocations: 164.4 kB / 4.319 GB, free: 42.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/9.309, allocations: 8 kB / 4.319 GB, free: 42.57 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.352e-05/9.309, allocations: 31.98 kB / 4.319 GB, free: 42.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/9.309, allocations: 8 kB / 4.319 GB, free: 42.54 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/9.309, allocations: 11.88 kB / 4.319 GB, free: 42.52 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/9.312, allocations: 2.702 MB / 4.322 GB, free: 39.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/9.313, allocations: 454.5 kB / 4.322 GB, free: 39.13 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004664/9.313, allocations: 27.98 kB / 4.322 GB, free: 39.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/9.315, allocations: 99.86 kB / 4.322 GB, free: 39.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/9.315, allocations: 100.3 kB / 4.322 GB, free: 38.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.911e-05/9.315, allocations: 39.98 kB / 4.322 GB, free: 38.87 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002573/9.317, allocations: 1.38 MB / 4.324 GB, free: 37.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/9.317, allocations: 3.938 kB / 4.324 GB, free: 37.46 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003941/9.321, allocations: 0.9958 MB / 4.325 GB, free: 36.46 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.003839/9.325, allocations: 2.263 MB / 4.327 GB, free: 34.11 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003632/9.329, allocations: 3.044 MB / 4.33 GB, free: 30.91 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/9.329, allocations: 0 / 4.33 GB, free: 30.91 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/9.33, allocations: 0.9857 MB / 4.331 GB, free: 29.89 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005361/9.335, allocations: 1.004 MB / 4.332 GB, free: 28.89 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/9.342, allocations: 3.141 MB / 4.335 GB, free: 25.66 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/9.344, allocations: 1.561 MB / 4.336 GB, free: 24.06 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003446/9.347, allocations: 0.6666 MB / 4.337 GB, free: 23.39 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/9.348, allocations: 99.42 kB / 4.337 GB, free: 23.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.152e-06/9.348, allocations: 0 / 4.337 GB, free: 23.3 MB / 1.151 GB Notification: Performance of Templates: time 0.8914/10.24, allocations: 67.51 MB / 4.403 GB, free: 208.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches