Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.488/1.488, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 183.3 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 96.48 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003329, allocations: 9.5 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2145, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.144/5.358, allocations: 2.189 GB / 3.089 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/5.358, allocations: 90.72 kB / 3.089 GB, free: 245.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.36/6.718, allocations: 380.3 MB / 3.461 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.132e-06/6.718, allocations: 3.719 kB / 3.461 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.622e-05/6.719, allocations: 14.72 kB / 3.461 GB, free: 237.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003164/6.722, allocations: 0.9488 MB / 3.462 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/6.722, allocations: 11.19 kB / 3.462 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/6.724, allocations: 254.8 kB / 3.462 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/6.725, allocations: 499.9 kB / 3.462 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003322/6.725, allocations: 93.38 kB / 3.463 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/6.726, allocations: 48.52 kB / 3.463 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/6.727, allocations: 0.6475 MB / 3.463 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/6.727, allocations: 1.781 kB / 3.463 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.857e-05/6.727, allocations: 18.34 kB / 3.463 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/6.727, allocations: 19.75 kB / 3.463 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/6.729, allocations: 0.5819 MB / 3.464 GB, free: 236.3 MB / 0.8855 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.004138/6.733, allocations: 2.17 MB / 3.466 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008161/6.734, allocations: 279.8 kB / 3.466 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/6.734, allocations: 7.625 kB / 3.466 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/6.734, allocations: 40.41 kB / 3.466 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 4.819e-06/6.734, allocations: 0 / 3.466 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.004733/6.738, allocations: 1.125 MB / 3.467 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/6.739, allocations: 82.98 kB / 3.467 GB, free: 235 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/6.739, allocations: 0.4928 MB / 3.468 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/6.739, allocations: 34.89 kB / 3.468 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/6.739, allocations: 305.8 kB / 3.468 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/6.74, allocations: 39.36 kB / 3.468 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/6.74, allocations: 7.531 kB / 3.468 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001066/6.74, allocations: 351 kB / 3.469 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/6.74, allocations: 195 kB / 3.469 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/6.741, allocations: 282.8 kB / 3.469 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004967/6.741, allocations: 206.8 kB / 3.469 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/6.741, allocations: 3.125 kB / 3.469 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002391/6.744, allocations: 0.7432 MB / 3.47 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/6.744, allocations: 11.81 kB / 3.47 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/6.744, allocations: 7.016 kB / 3.47 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/6.744, allocations: 172 kB / 3.47 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/6.745, allocations: 82.48 kB / 3.47 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/6.748, allocations: 2.03 MB / 3.472 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/6.749, allocations: 94.53 kB / 3.472 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/6.749, allocations: 14.27 kB / 3.472 GB, free: 232.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003376/6.749, allocations: 198.5 kB / 3.473 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/6.749, allocations: 54.03 kB / 3.473 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.934e-05/6.749, allocations: 51.73 kB / 3.473 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/6.749, allocations: 9.547 kB / 3.473 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/6.749, allocations: 0 / 3.473 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/6.749, allocations: 3.844 kB / 3.473 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002776/6.752, allocations: 1.129 MB / 3.474 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/6.752, allocations: 0 / 3.474 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/6.752, allocations: 53.88 kB / 3.474 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/6.753, allocations: 167.1 kB / 3.474 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/6.753, allocations: 5.078 kB / 3.474 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002784/6.755, allocations: 2.007 MB / 3.476 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/6.756, allocations: 0 / 3.476 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/6.758, allocations: 0.7379 MB / 3.477 GB, free: 231 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/6.758, allocations: 179 kB / 3.477 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.279e-05/6.758, allocations: 0 / 3.477 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/6.759, allocations: 74 kB / 3.477 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/6.759, allocations: 12.84 kB / 3.477 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/6.759, allocations: 18.06 kB / 3.477 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004343/6.759, allocations: 396.2 kB / 3.477 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.52e-07/6.759, allocations: 0 / 3.477 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001008/6.76, allocations: 249.7 kB / 3.478 GB, free: 230.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/6.762, allocations: 1.005 MB / 3.479 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001345/6.763, allocations: 0.5275 MB / 3.479 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/6.763, allocations: 5.938 kB / 3.479 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005796/6.764, allocations: 303.9 kB / 3.479 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/6.765, allocations: 290.7 kB / 3.48 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/6.768, allocations: 1.275 MB / 3.481 GB, free: 229.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/6.768, allocations: 0.8775 MB / 3.482 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004429/6.769, allocations: 104.3 kB / 3.482 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/6.769, allocations: 36.83 kB / 3.482 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/6.769, allocations: 0 / 3.482 GB, free: 229.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.03096/6.8, allocations: 23.51 MB / 3.505 GB, free: 227.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches