Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008837, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.000887/0.000887, allocations: 168.7 kB / 15.95 MB, free: 204 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.42/1.42, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.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.379/2.379, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003994, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7477/0.7481, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1941/0.9422, allocations: 173.3 MB / 1.124 GB, free: 1.734 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.009664/0.9519, allocations: 5.39 MB / 1.129 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.9533, allocations: 35.75 kB / 1.129 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.9549, allocations: 389.5 kB / 1.129 GB, free: 11.91 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004089/0.959, allocations: 1.209 MB / 1.131 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.9625, allocations: 0.8987 MB / 1.131 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004441/0.9669, allocations: 2.971 MB / 1.134 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.9687, allocations: 0.7379 MB / 1.135 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/0.9715, allocations: 0.8596 MB / 1.136 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.9739, allocations: 0.8017 MB / 1.137 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.9744, allocations: 40 kB / 1.137 GB, free: 4.375 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.9779, allocations: 0.9238 MB / 1.138 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007965/0.9788, allocations: 438.7 kB / 1.138 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.9795, allocations: 249.1 kB / 1.138 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.9821, allocations: 1.524 MB / 1.14 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.9821, allocations: 0 / 1.14 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9821, allocations: 4 kB / 1.14 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.08e-05/0.9822, allocations: 0 / 1.14 GB, free: 1.238 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002736/0.9849, allocations: 1.305 MB / 1.141 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.985, allocations: 12.03 kB / 1.141 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003066/0.988, allocations: 0.4981 MB / 1.142 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.9896, allocations: 0.7934 MB / 1.142 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/0.99, allocations: 125.9 kB / 1.142 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.9901, allocations: 87.98 kB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.9925, allocations: 1.198 MB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.9926, allocations: 0 / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.9927, allocations: 39.94 kB / 1.144 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/0.9927, allocations: 37.95 kB / 1.144 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.9952, allocations: 1.105 MB / 1.145 GB, free: 11.92 MB / 0.9044 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.00729/1.002, allocations: 4.374 MB / 1.149 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/1.005, allocations: 0.7951 MB / 1.15 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000996/1.006, allocations: 425.1 kB / 1.15 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/1.006, allocations: 105 kB / 1.15 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/1.006, allocations: 46.52 kB / 1.15 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.743e-06/1.006, allocations: 0 / 1.15 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.005777/1.012, allocations: 2.284 MB / 1.153 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/1.012, allocations: 55.41 kB / 1.153 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/1.013, allocations: 0.853 MB / 1.154 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/1.013, allocations: 37.7 kB / 1.154 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/1.013, allocations: 0.4915 MB / 1.154 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/1.013, allocations: 165.6 kB / 1.154 GB, free: 1.918 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/1.013, allocations: 12 kB / 1.154 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.014, allocations: 330 kB / 1.155 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/1.015, allocations: 389 kB / 1.155 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/1.016, allocations: 0.5209 MB / 1.155 GB, free: 0.625 MB / 0.9044 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.004243/1.02, allocations: 1.556 MB / 1.157 GB, free: 15.05 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.02, allocations: 4 kB / 1.157 GB, free: 15.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002331/1.022, allocations: 1.025 MB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.022, allocations: 14.12 kB / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.022, allocations: 4 kB / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/1.022, allocations: 4 kB / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009525/1.023, allocations: 215.8 kB / 1.158 GB, free: 13.79 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/1.023, allocations: 15.98 kB / 1.158 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.024, allocations: 111.7 kB / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.902e-05/1.024, allocations: 24 kB / 1.158 GB, free: 13.64 MB / 0.92 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: 17 * 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 (73): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005746/1.025, allocations: 307.2 kB / 1.159 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/1.025, allocations: 94.92 kB / 1.159 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/1.026, allocations: 112.7 kB / 1.159 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.026, allocations: 8 kB / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.026, allocations: 0 / 1.159 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002014/1.028, allocations: 1.065 MB / 1.16 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00498/1.033, allocations: 2.207 MB / 1.162 GB, free: 9.652 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.033, allocations: 7.938 kB / 1.162 GB, free: 9.645 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/1.033, allocations: 188.1 kB / 1.162 GB, free: 9.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/1.034, allocations: 8 kB / 1.162 GB, free: 9.453 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/1.034, allocations: 16 kB / 1.162 GB, free: 9.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/1.034, allocations: 7.953 kB / 1.162 GB, free: 9.43 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.034, allocations: 7.938 kB / 1.162 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/1.037, allocations: 1.476 MB / 1.164 GB, free: 7.891 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/1.038, allocations: 255.9 kB / 1.164 GB, free: 7.621 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/1.038, allocations: 12 kB / 1.164 GB, free: 7.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.04, allocations: 105.3 kB / 1.164 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/1.04, allocations: 35.91 kB / 1.164 GB, free: 7.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.475e-05/1.04, allocations: 35.98 kB / 1.164 GB, free: 7.438 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009649/1.041, allocations: 0.5927 MB / 1.165 GB, free: 6.852 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.041, allocations: 4 kB / 1.165 GB, free: 6.848 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001154/1.042, allocations: 264 kB / 1.165 GB, free: 6.59 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006643/1.043, allocations: 220.8 kB / 1.165 GB, free: 6.375 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002164/1.045, allocations: 0.847 MB / 1.166 GB, free: 5.527 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.045, allocations: 4.062 kB / 1.166 GB, free: 5.523 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/1.046, allocations: 416.5 kB / 1.166 GB, free: 5.117 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.049, allocations: 0.5569 MB / 1.167 GB, free: 4.566 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005385/1.054, allocations: 2.563 MB / 1.169 GB, free: 1.926 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/1.055, allocations: 1.107 MB / 1.17 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00119/1.056, allocations: 267.8 kB / 1.171 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/1.057, allocations: 71.42 kB / 1.171 GB, free: 468 kB / 0.92 GB Notification: Performance of SimCode: time 1.103e-06/1.057, allocations: 0 / 1.171 GB, free: 468 kB / 0.92 GB Notification: Performance of Templates: time 0.03207/1.089, allocations: 19.48 MB / 1.19 GB, free: 13.29 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches