Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 194 kB / 16.53 MB, free: 6.391 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.467/2.467, allocations: 390.2 MB / 0.6647 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.89 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6464/0.6477, allocations: 140.3 MB / 0.9496 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2278/0.8755, allocations: 190.3 MB / 1.135 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.8858, allocations: 5.69 MB / 1.141 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.8878, allocations: 39.75 kB / 1.141 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.8899, allocations: 0.5669 MB / 1.142 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004712/0.8947, allocations: 1.606 MB / 1.143 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/0.8981, allocations: 1.196 MB / 1.144 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003886/0.902, allocations: 2.5 MB / 1.147 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.9036, allocations: 0.9965 MB / 1.148 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.9062, allocations: 1.016 MB / 1.149 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.9084, allocations: 0.816 MB / 1.15 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.9087, allocations: 103.9 kB / 1.15 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.9124, allocations: 1.528 MB / 1.151 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006138/0.913, allocations: 0.4909 MB / 1.152 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009477/0.9139, allocations: 0.6261 MB / 1.152 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004304/0.9183, allocations: 2.088 MB / 1.154 GB, free: 15.6 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.9183, allocations: 0 / 1.154 GB, free: 15.6 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.845e-06/0.9183, allocations: 0 / 1.154 GB, free: 15.6 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.9183, allocations: 0 / 1.154 GB, free: 15.6 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003098/0.9214, allocations: 1.473 MB / 1.156 GB, free: 14.08 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.9215, allocations: 8.031 kB / 1.156 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.9237, allocations: 330.3 kB / 1.156 GB, free: 13.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.9251, allocations: 0.7765 MB / 1.157 GB, free: 12.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/0.9255, allocations: 117.9 kB / 1.157 GB, free: 12.81 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.9256, allocations: 87.98 kB / 1.157 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.9276, allocations: 1.086 MB / 1.158 GB, free: 11.6 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.9277, allocations: 0 / 1.158 GB, free: 11.6 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.834e-05/0.9278, allocations: 40 kB / 1.158 GB, free: 11.56 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/0.9278, allocations: 37.98 kB / 1.158 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.9295, allocations: 0.8391 MB / 1.159 GB, free: 10.68 MB / 0.92 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.005901/0.9354, allocations: 4.308 MB / 1.163 GB, free: 6.098 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.936, allocations: 367.2 kB / 1.163 GB, free: 5.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.9363, allocations: 214.2 kB / 1.164 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.9365, allocations: 101.1 kB / 1.164 GB, free: 5.402 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.9365, allocations: 38.56 kB / 1.164 GB, free: 5.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 1.983e-06/0.9365, allocations: 0 / 1.164 GB, free: 5.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002669/0.9392, allocations: 1.332 MB / 1.165 GB, free: 3.969 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.9393, allocations: 55.41 kB / 1.165 GB, free: 3.902 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.9409, allocations: 1.012 MB / 1.166 GB, free: 2.867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.9409, allocations: 33.7 kB / 1.166 GB, free: 2.828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.9414, allocations: 0.4914 MB / 1.167 GB, free: 2.332 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.9415, allocations: 142 kB / 1.167 GB, free: 2.191 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.9417, allocations: 118.2 kB / 1.167 GB, free: 2.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.9419, allocations: 330 kB / 1.167 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.9424, allocations: 241.1 kB / 1.167 GB, free: 1.504 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.943, allocations: 427.8 kB / 1.168 GB, free: 1.012 MB / 0.92 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.002564/0.9456, allocations: 1.229 MB / 1.169 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.9456, allocations: 0 / 1.169 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001477/0.9471, allocations: 0.7768 MB / 1.17 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.9471, allocations: 8 kB / 1.17 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.9472, allocations: 11.94 kB / 1.17 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.9472, allocations: 8 kB / 1.17 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.9478, allocations: 152.1 kB / 1.17 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.9478, allocations: 15.92 kB / 1.17 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009681/0.9488, allocations: 59.86 kB / 1.17 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.9489, allocations: 28 kB / 1.17 GB, free: 14.62 MB / 0.9356 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005009/0.9494, allocations: 317.5 kB / 1.17 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.9495, allocations: 98.88 kB / 1.171 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.9497, allocations: 113 kB / 1.171 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.9497, allocations: 8 kB / 1.171 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.9498, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007034/0.9505, allocations: 0.6713 MB / 1.171 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.9528, allocations: 1.586 MB / 1.173 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9529, allocations: 4 kB / 1.173 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.9533, allocations: 83.89 kB / 1.173 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.9533, allocations: 8 kB / 1.173 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.9533, allocations: 8 kB / 1.173 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.9533, allocations: 15.88 kB / 1.173 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.9533, allocations: 4 kB / 1.173 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.9544, allocations: 0.8257 MB / 1.174 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.9547, allocations: 239.8 kB / 1.174 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.9549, allocations: 15.94 kB / 1.174 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/0.9557, allocations: 40.72 kB / 1.174 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.9558, allocations: 35.83 kB / 1.174 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.422e-05/0.9559, allocations: 31.98 kB / 1.174 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001182/0.957, allocations: 0.7155 MB / 1.175 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.9571, allocations: 0 / 1.175 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008636/0.9579, allocations: 252 kB / 1.175 GB, free: 9.277 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000547/0.9585, allocations: 218.2 kB / 1.175 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.9596, allocations: 0.536 MB / 1.176 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9596, allocations: 7.875 kB / 1.176 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.9599, allocations: 185.3 kB / 1.176 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.9626, allocations: 0.6111 MB / 1.177 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.9653, allocations: 1.865 MB / 1.178 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.966, allocations: 1.102 MB / 1.179 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008929/0.9669, allocations: 248.3 kB / 1.18 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.9671, allocations: 79.36 kB / 1.18 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of SimCode: time 8.22e-07/0.9671, allocations: 0 / 1.18 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of Templates: time 0.03523/1.002, allocations: 19.76 MB / 1.199 GB, free: 0.8867 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches