Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009091, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009409/0.000941, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.527/2.527, allocations: 436.5 MB / 0.7104 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 19.92 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6113/0.6117, allocations: 153.6 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.1673/0.779, allocations: 158.3 MB / 1.175 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009009/0.788, allocations: 5.674 MB / 1.181 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009754/0.789, allocations: 35.75 kB / 1.181 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.7906, allocations: 0.5599 MB / 1.182 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.004485/0.7951, allocations: 1.687 MB / 1.183 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.7984, allocations: 1.185 MB / 1.184 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.8011, allocations: 1.499 MB / 1.186 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.8022, allocations: 0.6697 MB / 1.186 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.8036, allocations: 0.7553 MB / 1.187 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007418/0.8044, allocations: 0.5058 MB / 1.188 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.462e-05/0.8045, allocations: 40 kB / 1.188 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.8065, allocations: 0.9125 MB / 1.189 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.8068, allocations: 315.1 kB / 1.189 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/0.8071, allocations: 229.2 kB / 1.189 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.8086, allocations: 1.364 MB / 1.191 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.8086, allocations: 0 / 1.191 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8086, allocations: 0 / 1.191 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.8087, allocations: 0 / 1.191 GB, free: 2.902 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002181/0.8108, allocations: 1.227 MB / 1.192 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.8109, allocations: 8.031 kB / 1.192 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.8136, allocations: 442.3 kB / 1.192 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.8151, allocations: 0.7342 MB / 1.193 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/0.8155, allocations: 141.7 kB / 1.193 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.8156, allocations: 76 kB / 1.193 GB, free: 200 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.8175, allocations: 0.9906 MB / 1.194 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.8176, allocations: 0 / 1.194 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/0.8177, allocations: 32 kB / 1.194 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.8177, allocations: 30 kB / 1.194 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.8197, allocations: 0.9017 MB / 1.195 GB, free: 14.22 MB / 0.9512 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.006378/0.8261, allocations: 3.536 MB / 1.198 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.828, allocations: 0.6554 MB / 1.199 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.828, allocations: 8.328 kB / 1.199 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.8281, allocations: 38.89 kB / 1.199 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=39): time 2.535e-06/0.8281, allocations: 4 kB / 1.199 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of matching and sorting (n=41): time 0.008968/0.8371, allocations: 2.515 MB / 1.202 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.8371, allocations: 55.41 kB / 1.202 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.8384, allocations: 0.7979 MB / 1.202 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.932e-05/0.8385, allocations: 45.58 kB / 1.202 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.8389, allocations: 451.6 kB / 1.203 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.8391, allocations: 145.9 kB / 1.203 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.8391, allocations: 12 kB / 1.203 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.8392, allocations: 326 kB / 1.203 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008713/0.8401, allocations: 316.9 kB / 1.204 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/0.8411, allocations: 428 kB / 1.204 GB, free: 4.574 MB / 0.9512 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004138/0.8452, allocations: 1.311 MB / 1.205 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8453, allocations: 7.938 kB / 1.205 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003417/0.8487, allocations: 1.085 MB / 1.206 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.8487, allocations: 8 kB / 1.206 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.8487, allocations: 8.094 kB / 1.206 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006434/0.8494, allocations: 188.7 kB / 1.207 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.8502, allocations: 159.8 kB / 1.207 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004007/0.8542, allocations: 2.156 MB / 1.209 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.8554, allocations: 95.81 kB / 1.209 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.658e-05/0.8555, allocations: 20 kB / 1.209 GB, free: 15.37 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. 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 (59): * Single equations (assignments): 58 * 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.0005047/0.856, allocations: 277.9 kB / 1.209 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.8563, allocations: 90.92 kB / 1.209 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.8565, allocations: 96.23 kB / 1.209 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.8565, allocations: 4 kB / 1.209 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.8565, allocations: 4 kB / 1.209 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003094/0.8596, allocations: 0.953 MB / 1.21 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005887/0.8655, allocations: 2.168 MB / 1.212 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.8656, allocations: 0 / 1.212 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.8663, allocations: 144.2 kB / 1.213 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005837/0.8669, allocations: 200.5 kB / 1.213 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.867, allocations: 19.95 kB / 1.213 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.8709, allocations: 2.112 MB / 1.215 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.8709, allocations: 4 kB / 1.215 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004493/0.8754, allocations: 1.641 MB / 1.216 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005896/0.876, allocations: 232 kB / 1.217 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.8763, allocations: 20.05 kB / 1.217 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.8773, allocations: 98.3 kB / 1.217 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.8775, allocations: 43.84 kB / 1.217 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-05/0.8775, allocations: 27.98 kB / 1.217 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007892/0.8783, allocations: 0.5458 MB / 1.217 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8783, allocations: 0 / 1.217 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00103/0.8794, allocations: 279.9 kB / 1.218 GB, free: 6.004 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * 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.0004856/0.8799, allocations: 207.1 kB / 1.218 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002174/0.8821, allocations: 0.8291 MB / 1.219 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.8821, allocations: 8 kB / 1.219 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.8831, allocations: 482.9 kB / 1.219 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.8857, allocations: 0.5178 MB / 1.22 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.8904, allocations: 2.246 MB / 1.222 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.8911, allocations: 1.059 MB / 1.223 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009549/0.8921, allocations: 207.1 kB / 1.223 GB, free: 348 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.8923, allocations: 67.42 kB / 1.223 GB, free: 280 kB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.8923, allocations: 0 / 1.223 GB, free: 280 kB / 0.9669 GB Notification: Performance of Templates: time 0.03185/0.9242, allocations: 19.06 MB / 1.242 GB, free: 13.47 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches