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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.032/2.032, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009438/0.0009439, allocations: 192.8 kB / 487.4 MB, free: 5.023 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.433/1.433, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008351/0.000835, allocations: 99.84 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.469e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.278, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.826/5.104, allocations: 1.919 GB / 3.125 GB, free: 431.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/5.104, allocations: 90.77 kB / 3.125 GB, free: 431.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.662/6.766, allocations: 0.5704 GB / 3.695 GB, free: 282.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.633e-06/6.766, allocations: 0 / 3.695 GB, free: 282.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.129e-05/6.766, allocations: 30.91 kB / 3.695 GB, free: 282.8 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002025/6.768, allocations: 1.225 MB / 3.696 GB, free: 282 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/6.768, allocations: 10.73 kB / 3.696 GB, free: 282 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/6.77, allocations: 417 kB / 3.697 GB, free: 281.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/6.772, allocations: 0.7834 MB / 3.697 GB, free: 281.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/6.772, allocations: 97.94 kB / 3.698 GB, free: 281.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.965e-05/6.772, allocations: 45.12 kB / 3.698 GB, free: 281.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009929/6.773, allocations: 0.6685 MB / 3.698 GB, free: 280.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/6.774, allocations: 0.7762 MB / 3.699 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/6.774, allocations: 0 / 3.699 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/6.774, allocations: 3.625 kB / 3.699 GB, free: 280.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/6.774, allocations: 28.67 kB / 3.699 GB, free: 280.5 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.00418/6.779, allocations: 3.226 MB / 3.702 GB, free: 278 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/6.779, allocations: 413.9 kB / 3.703 GB, free: 277.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/6.779, allocations: 231.1 kB / 3.703 GB, free: 277.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/6.78, allocations: 103.6 kB / 3.703 GB, free: 277.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/6.78, allocations: 44.62 kB / 3.703 GB, free: 277.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 1.562e-06/6.78, allocations: 0 / 3.703 GB, free: 277.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=41): time 0.003069/6.783, allocations: 1.424 MB / 3.704 GB, free: 276.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/6.783, allocations: 62.59 kB / 3.704 GB, free: 276.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004544/6.783, allocations: 0.5015 MB / 3.705 GB, free: 276.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/6.783, allocations: 29.61 kB / 3.705 GB, free: 276.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/6.783, allocations: 454.2 kB / 3.705 GB, free: 275.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.306e-05/6.783, allocations: 140.6 kB / 3.705 GB, free: 275.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/6.784, allocations: 3.938 kB / 3.705 GB, free: 275.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/6.784, allocations: 381.7 kB / 3.706 GB, free: 275.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/6.784, allocations: 201.6 kB / 3.706 GB, free: 275.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/6.784, allocations: 312 kB / 3.706 GB, free: 275.1 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/6.786, allocations: 0.9914 MB / 3.707 GB, free: 274.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/6.786, allocations: 3.062 kB / 3.707 GB, free: 274.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001856/6.788, allocations: 0.7943 MB / 3.708 GB, free: 274.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/6.788, allocations: 11.33 kB / 3.708 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/6.788, allocations: 7.453 kB / 3.708 GB, free: 274.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/6.789, allocations: 134.8 kB / 3.708 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/6.789, allocations: 140.3 kB / 3.708 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/6.791, allocations: 1.744 MB / 3.71 GB, free: 272.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/6.793, allocations: 85.77 kB / 3.71 GB, free: 272.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/6.793, allocations: 21.88 kB / 3.71 GB, free: 272.5 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 () * 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.0002879/6.793, allocations: 126.1 kB / 3.71 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/6.793, allocations: 75.16 kB / 3.71 GB, free: 272.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/6.793, allocations: 77.36 kB / 3.71 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/6.793, allocations: 4 kB / 3.71 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/6.793, allocations: 7.938 kB / 3.71 GB, free: 272.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001739/6.795, allocations: 0.6939 MB / 3.711 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/6.798, allocations: 1.684 MB / 3.713 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/6.798, allocations: 0 / 3.713 GB, free: 269.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/6.799, allocations: 111 kB / 3.713 GB, free: 269.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003124/6.799, allocations: 138.6 kB / 3.713 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/6.799, allocations: 18.22 kB / 3.713 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/6.801, allocations: 1.743 MB / 3.715 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/6.801, allocations: 7.969 kB / 3.715 GB, free: 267.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/6.803, allocations: 1.25 MB / 3.716 GB, free: 266.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003419/6.804, allocations: 215.9 kB / 3.716 GB, free: 266.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/6.804, allocations: 4 kB / 3.716 GB, free: 266 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007905/6.805, allocations: 78.42 kB / 3.716 GB, free: 266 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/6.805, allocations: 39.84 kB / 3.716 GB, free: 265.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/6.805, allocations: 23.98 kB / 3.716 GB, free: 265.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004114/6.805, allocations: 398.5 kB / 3.717 GB, free: 265.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/6.805, allocations: 0 / 3.717 GB, free: 265.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001217/6.806, allocations: 363.9 kB / 3.717 GB, free: 265.2 MB / 1.151 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 () * 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.001662/6.808, allocations: 1.504 MB / 3.718 GB, free: 263.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008334/6.809, allocations: 0.574 MB / 3.719 GB, free: 263.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/6.809, allocations: 8 kB / 3.719 GB, free: 263.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/6.809, allocations: 341.5 kB / 3.719 GB, free: 263 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/6.811, allocations: 384.4 kB / 3.72 GB, free: 262.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/6.814, allocations: 1.388 MB / 3.721 GB, free: 261.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/6.814, allocations: 1.063 MB / 3.722 GB, free: 260.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0006628/6.815, allocations: 176.5 kB / 3.722 GB, free: 259.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/6.815, allocations: 55.42 kB / 3.722 GB, free: 259.9 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/6.815, allocations: 0 / 3.722 GB, free: 259.9 MB / 1.151 GB Notification: Performance of Templates: time 0.0261/6.841, allocations: 21.87 MB / 3.744 GB, free: 238.3 MB / 1.151 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 -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","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches