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.001385/0.001385, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001781/0.001781, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.459/2.459, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002234, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.7013, allocations: 140.4 MB / 0.9491 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2123/0.9137, allocations: 187.9 MB / 1.133 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009892/0.9236, allocations: 5.663 MB / 1.138 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.9253, allocations: 35.75 kB / 1.138 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.9272, allocations: 0.5053 MB / 1.139 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004399/0.9316, allocations: 1.513 MB / 1.14 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.9348, allocations: 1.093 MB / 1.141 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003279/0.9381, allocations: 2.508 MB / 1.144 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.9396, allocations: 0.9575 MB / 1.145 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.9417, allocations: 1.027 MB / 1.146 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.9438, allocations: 0.8789 MB / 1.146 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.9441, allocations: 104 kB / 1.146 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.9475, allocations: 1.59 MB / 1.148 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007041/0.9483, allocations: 0.4909 MB / 1.149 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001169/0.9494, allocations: 0.6222 MB / 1.149 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.953, allocations: 2.181 MB / 1.151 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9531, allocations: 0 / 1.151 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.486e-06/0.9531, allocations: 0 / 1.151 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.863e-05/0.9531, allocations: 3.938 kB / 1.151 GB, free: 2.328 MB / 0.9044 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.003161/0.9563, allocations: 1.472 MB / 1.153 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.9563, allocations: 8.031 kB / 1.153 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/0.9586, allocations: 334.2 kB / 1.153 GB, free: 480 kB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.9602, allocations: 0.7766 MB / 1.154 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.9606, allocations: 117.9 kB / 1.154 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.9608, allocations: 88 kB / 1.154 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.9629, allocations: 1.068 MB / 1.155 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.9629, allocations: 0 / 1.155 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.963, allocations: 40 kB / 1.155 GB, free: 14.3 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.9631, allocations: 41.86 kB / 1.155 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.9647, allocations: 0.8431 MB / 1.156 GB, free: 13.42 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.005585/0.9703, allocations: 4.046 MB / 1.16 GB, free: 9.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.9709, allocations: 362.7 kB / 1.16 GB, free: 8.746 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.9712, allocations: 217.7 kB / 1.16 GB, free: 8.531 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.9714, allocations: 101.1 kB / 1.161 GB, free: 8.414 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.9715, allocations: 38.56 kB / 1.161 GB, free: 8.367 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.134e-06/0.9715, allocations: 0 / 1.161 GB, free: 8.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002637/0.9741, allocations: 1.332 MB / 1.162 GB, free: 6.98 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.9742, allocations: 59.41 kB / 1.162 GB, free: 6.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.9755, allocations: 0.9881 MB / 1.163 GB, free: 5.898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.9756, allocations: 37.7 kB / 1.163 GB, free: 5.855 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.976, allocations: 495.3 kB / 1.163 GB, free: 5.367 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.9761, allocations: 145.9 kB / 1.164 GB, free: 5.223 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.9763, allocations: 114.2 kB / 1.164 GB, free: 5.105 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9764, allocations: 334 kB / 1.164 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.9769, allocations: 233.2 kB / 1.164 GB, free: 4.543 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/0.9775, allocations: 405.2 kB / 1.165 GB, free: 4.082 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.002637/0.9801, allocations: 1.195 MB / 1.166 GB, free: 2.801 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.9802, allocations: 0 / 1.166 GB, free: 2.801 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00168/0.9818, allocations: 0.7574 MB / 1.166 GB, free: 2.035 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.9819, allocations: 4 kB / 1.166 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.9819, allocations: 12 kB / 1.166 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.9819, allocations: 8 kB / 1.167 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.9826, allocations: 136.1 kB / 1.167 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/0.9826, allocations: 15.92 kB / 1.167 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.9838, allocations: 91.78 kB / 1.167 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.9839, allocations: 27.98 kB / 1.167 GB, free: 1.746 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 system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.000535/0.9845, allocations: 309.5 kB / 1.167 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.9846, allocations: 106.7 kB / 1.167 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.9848, allocations: 97.03 kB / 1.167 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.9848, allocations: 4 kB / 1.167 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.9848, allocations: 0 / 1.167 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006561/0.9855, allocations: 0.6791 MB / 1.168 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/0.9879, allocations: 1.585 MB / 1.169 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.9879, allocations: 4 kB / 1.169 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.9883, allocations: 88.34 kB / 1.17 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.9883, allocations: 11.94 kB / 1.17 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.391e-05/0.9884, allocations: 15.98 kB / 1.17 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.9884, allocations: 4 kB / 1.17 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.9884, allocations: 7.938 kB / 1.17 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.9894, allocations: 0.8303 MB / 1.17 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.9898, allocations: 239.9 kB / 1.171 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.9899, allocations: 19.98 kB / 1.171 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.9907, allocations: 55.8 kB / 1.171 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.9907, allocations: 31.84 kB / 1.171 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.9908, allocations: 31.98 kB / 1.171 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001062/0.9919, allocations: 0.7034 MB / 1.171 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9919, allocations: 0 / 1.171 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009037/0.9928, allocations: 260 kB / 1.172 GB, free: 12.39 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.0005299/0.9933, allocations: 212.2 kB / 1.172 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.9943, allocations: 0.5242 MB / 1.172 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.9944, allocations: 0 / 1.172 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.9946, allocations: 198.2 kB / 1.173 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.9972, allocations: 0.6187 MB / 1.173 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/1, allocations: 2.177 MB / 1.175 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/1.001, allocations: 1.102 MB / 1.176 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008249/1.002, allocations: 244.2 kB / 1.177 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/1.002, allocations: 71.44 kB / 1.177 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/1.002, allocations: 0 / 1.177 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of Templates: time 0.03112/1.033, allocations: 19.6 MB / 1.196 GB, free: 3.855 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