Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001083/0.001083, allocations: 112.6 kB / 16.37 MB, free: 6 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.001613/0.001613, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 69.06 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2457, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.702/0.9477, allocations: 190.6 MB / 1.137 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.9579, allocations: 5.732 MB / 1.143 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.96, allocations: 37.62 kB / 1.143 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.9618, allocations: 0.5795 MB / 1.143 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005243/0.9671, allocations: 1.61 MB / 1.145 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.9709, allocations: 1.23 MB / 1.146 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004285/0.9752, allocations: 2.559 MB / 1.149 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.9767, allocations: 0.8744 MB / 1.15 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.9791, allocations: 1.045 MB / 1.151 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.9812, allocations: 0.8097 MB / 1.151 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002307/0.9814, allocations: 96.06 kB / 1.151 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.985, allocations: 1.543 MB / 1.153 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.9855, allocations: 403.5 kB / 1.153 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007668/0.9862, allocations: 0.5869 MB / 1.154 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003654/0.9899, allocations: 2.015 MB / 1.156 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.9899, allocations: 1.125 kB / 1.156 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9899, allocations: 0 / 1.156 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.962e-05/0.99, allocations: 0 / 1.156 GB, free: 1.734 MB / 0.8575 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.003061/0.993, allocations: 1.436 MB / 1.157 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9931, allocations: 8.594 kB / 1.157 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.9958, allocations: 414.9 kB / 1.158 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.9975, allocations: 0.8001 MB / 1.159 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.9976, allocations: 56.72 kB / 1.159 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.9977, allocations: 74.91 kB / 1.159 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.9996, allocations: 0.9864 MB / 1.16 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.9997, allocations: 1.219 kB / 1.16 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-05/0.9997, allocations: 35.47 kB / 1.16 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.9998, allocations: 29.86 kB / 1.16 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/1.002, allocations: 0.8687 MB / 1.161 GB, free: 15.5 MB / 0.8731 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.006682/1.008, allocations: 3.486 MB / 1.164 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/1.01, allocations: 0.6148 MB / 1.165 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007579/1.011, allocations: 335.8 kB / 1.165 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/1.011, allocations: 97.89 kB / 1.165 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/1.011, allocations: 42.97 kB / 1.165 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=39): time 2.966e-06/1.011, allocations: 0 / 1.165 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=41): time 0.008429/1.02, allocations: 2.388 MB / 1.167 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.02, allocations: 63.38 kB / 1.167 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/1.021, allocations: 0.7933 MB / 1.168 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001028/1.021, allocations: 40.14 kB / 1.168 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/1.021, allocations: 445.8 kB / 1.169 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.021, allocations: 152.3 kB / 1.169 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/1.022, allocations: 107.5 kB / 1.169 GB, free: 11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.022, allocations: 330.3 kB / 1.169 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/1.023, allocations: 300.2 kB / 1.169 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008924/1.023, allocations: 406.7 kB / 1.17 GB, free: 10.4 MB / 0.8731 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.005608/1.029, allocations: 1.873 MB / 1.172 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/1.029, allocations: 4 kB / 1.172 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00332/1.032, allocations: 1.04 MB / 1.173 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/1.033, allocations: 6.375 kB / 1.173 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.033, allocations: 2.125 kB / 1.173 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/1.033, allocations: 188 kB / 1.173 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/1.034, allocations: 141.3 kB / 1.173 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003963/1.038, allocations: 2.237 MB / 1.175 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.039, allocations: 49.83 kB / 1.175 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/1.039, allocations: 23.36 kB / 1.175 GB, free: 7.465 MB / 0.8731 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005386/1.04, allocations: 268.6 kB / 1.176 GB, free: 7.262 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/1.04, allocations: 91.47 kB / 1.176 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/1.04, allocations: 95.55 kB / 1.176 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.04, allocations: 5.188 kB / 1.176 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.04, allocations: 0 / 1.176 GB, free: 7.141 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002697/1.043, allocations: 0.8922 MB / 1.177 GB, free: 6.613 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/1.048, allocations: 2.097 MB / 1.179 GB, free: 5.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.048, allocations: 11.3 kB / 1.179 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/1.049, allocations: 121.2 kB / 1.179 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005559/1.05, allocations: 196 kB / 1.179 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/1.05, allocations: 12.47 kB / 1.179 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003594/1.053, allocations: 2.184 MB / 1.181 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.053, allocations: 7.312 kB / 1.181 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003841/1.057, allocations: 1.414 MB / 1.182 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/1.058, allocations: 240.8 kB / 1.183 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/1.058, allocations: 13.69 kB / 1.183 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/1.059, allocations: 61.75 kB / 1.183 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.059, allocations: 40.95 kB / 1.183 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/1.059, allocations: 25.83 kB / 1.183 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007758/1.06, allocations: 0.5563 MB / 1.183 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.06, allocations: 0 / 1.183 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001057/1.061, allocations: 276.5 kB / 1.184 GB, free: 1.727 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005326/1.062, allocations: 213.6 kB / 1.184 GB, free: 1.586 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002039/1.064, allocations: 0.8057 MB / 1.185 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.064, allocations: 6.031 kB / 1.185 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009564/1.065, allocations: 466.5 kB / 1.185 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/1.067, allocations: 0.5462 MB / 1.186 GB, free: 0.5625 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/1.071, allocations: 1.902 MB / 1.187 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/1.072, allocations: 1.037 MB / 1.188 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007099/1.073, allocations: 207.6 kB / 1.189 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/1.073, allocations: 72.36 kB / 1.189 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/1.073, allocations: 0 / 1.189 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of Templates: time 0.03213/1.105, allocations: 20.63 MB / 1.209 GB, free: 3.496 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches