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.001132/0.001132, allocations: 99.86 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.00137/0.00137, 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.411/1.411, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.386/2.386, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003823, allocations: 8 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7175/0.7179, allocations: 142.3 MB / 0.9535 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.184/0.902, allocations: 158.3 MB / 1.108 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009392/0.9114, allocations: 5.614 MB / 1.114 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.913, allocations: 35.75 kB / 1.114 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.9149, allocations: 0.5599 MB / 1.114 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.9198, allocations: 1.671 MB / 1.116 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.9235, allocations: 1.208 MB / 1.117 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002859/0.9263, allocations: 1.479 MB / 1.118 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.9275, allocations: 0.7575 MB / 1.119 GB, free: 6.145 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.929, allocations: 0.7514 MB / 1.12 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008173/0.9298, allocations: 0.537 MB / 1.12 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.9299, allocations: 44 kB / 1.12 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.9321, allocations: 0.9086 MB / 1.121 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004878/0.9326, allocations: 403 kB / 1.122 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.9329, allocations: 253.1 kB / 1.122 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.9347, allocations: 1.489 MB / 1.123 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.9347, allocations: 0 / 1.123 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9347, allocations: 0 / 1.123 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.9347, allocations: 4 kB / 1.123 GB, free: 1.754 MB / 0.8731 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.002234/0.937, allocations: 1.285 MB / 1.125 GB, free: 428 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.937, allocations: 12.03 kB / 1.125 GB, free: 416 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.94, allocations: 0.4944 MB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.9416, allocations: 0.7934 MB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.942, allocations: 133.9 kB / 1.126 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.9421, allocations: 83.94 kB / 1.126 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.9444, allocations: 1.19 MB / 1.127 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.9444, allocations: 0 / 1.127 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.9445, allocations: 40 kB / 1.127 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.078e-05/0.9446, allocations: 37.77 kB / 1.127 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.9471, allocations: 1.109 MB / 1.128 GB, free: 12.46 MB / 0.8887 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.007737/0.9548, allocations: 4.362 MB / 1.133 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.9569, allocations: 0.8028 MB / 1.133 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.206e-05/0.957, allocations: 15.92 kB / 1.133 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.957, allocations: 46.52 kB / 1.134 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=43): time 3.146e-06/0.957, allocations: 0 / 1.134 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.006044/0.9631, allocations: 2.288 MB / 1.136 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.9632, allocations: 55.41 kB / 1.136 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.9642, allocations: 0.853 MB / 1.137 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.9643, allocations: 37.7 kB / 1.137 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.9646, allocations: 491.3 kB / 1.137 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.9648, allocations: 165.6 kB / 1.137 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.9648, allocations: 12 kB / 1.137 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.9649, allocations: 330 kB / 1.138 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009789/0.9659, allocations: 393 kB / 1.138 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.967, allocations: 0.5221 MB / 1.139 GB, free: 1.691 MB / 0.8887 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.00442/0.9714, allocations: 1.556 MB / 1.14 GB, free: 120 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.9715, allocations: 4 kB / 1.14 GB, free: 116 kB / 0.8887 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00237/0.9738, allocations: 1.025 MB / 1.141 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.9739, allocations: 11.94 kB / 1.141 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9739, allocations: 4 kB / 1.141 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.9739, allocations: 8 kB / 1.141 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009574/0.9749, allocations: 215.8 kB / 1.141 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.9749, allocations: 4 kB / 1.141 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.976, allocations: 115.8 kB / 1.141 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.9761, allocations: 23.98 kB / 1.141 GB, free: 14.71 MB / 0.9044 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.0004936/0.9766, allocations: 319.6 kB / 1.142 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.9767, allocations: 98.83 kB / 1.142 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.9769, allocations: 100.8 kB / 1.142 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9769, allocations: 4 kB / 1.142 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.977, allocations: 0 / 1.142 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002098/0.9791, allocations: 1.077 MB / 1.143 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004756/0.9838, allocations: 2.202 MB / 1.145 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.9839, allocations: 4 kB / 1.145 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/0.9848, allocations: 184 kB / 1.145 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.9848, allocations: 8 kB / 1.145 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.9848, allocations: 23.98 kB / 1.145 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.9848, allocations: 7.953 kB / 1.145 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.9849, allocations: 7.938 kB / 1.145 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003342/0.9882, allocations: 1.622 MB / 1.147 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/0.9888, allocations: 252 kB / 1.147 GB, free: 8.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.989, allocations: 19.95 kB / 1.147 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.99, allocations: 114.3 kB / 1.147 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.9901, allocations: 31.97 kB / 1.147 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.9902, allocations: 31.97 kB / 1.147 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007615/0.9909, allocations: 0.5965 MB / 1.148 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.991, allocations: 0 / 1.148 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008386/0.9918, allocations: 272 kB / 1.148 GB, free: 7.418 MB / 0.9044 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.0004754/0.9923, allocations: 208.8 kB / 1.148 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.9944, allocations: 0.8508 MB / 1.149 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.9945, allocations: 4 kB / 1.149 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009774/0.9954, allocations: 417.3 kB / 1.15 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.9979, allocations: 0.5537 MB / 1.15 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/1.003, allocations: 2.559 MB / 1.153 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/1.004, allocations: 1.126 MB / 1.154 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001193/1.005, allocations: 259.8 kB / 1.154 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/1.005, allocations: 83.41 kB / 1.154 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of SimCode: time 1.062e-06/1.005, allocations: 0 / 1.154 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of Templates: time 0.03233/1.038, allocations: 19.47 MB / 1.173 GB, free: 14.12 MB / 0.9356 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","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches