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.001301/0.001301, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001545/0.001545, allocations: 193.4 kB / 16.14 MB, free: 6.711 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.36/2.36, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7025/0.704, allocations: 140.4 MB / 0.9489 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2269/0.9308, allocations: 188.1 MB / 1.133 GB, free: 5.332 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.9421, allocations: 5.742 MB / 1.138 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.9441, allocations: 31.81 kB / 1.138 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.9463, allocations: 0.4897 MB / 1.139 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004692/0.951, allocations: 1.521 MB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.9544, allocations: 1.077 MB / 1.141 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004556/0.959, allocations: 3.484 MB / 1.145 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.9605, allocations: 0.8566 MB / 1.146 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.9626, allocations: 0.8869 MB / 1.146 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.9651, allocations: 0.846 MB / 1.147 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.9654, allocations: 56 kB / 1.147 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/0.9692, allocations: 1.707 MB / 1.149 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006762/0.9699, allocations: 454.7 kB / 1.149 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.971, allocations: 0.5753 MB / 1.15 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003278/0.9743, allocations: 2.134 MB / 1.152 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9743, allocations: 0 / 1.152 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9743, allocations: 0 / 1.152 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.014e-05/0.9744, allocations: 4 kB / 1.152 GB, free: 1.414 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.003288/0.9777, allocations: 1.476 MB / 1.153 GB, free: 15.88 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.9777, allocations: 8.031 kB / 1.153 GB, free: 15.87 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.9801, allocations: 330.3 kB / 1.154 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.9815, allocations: 0.7687 MB / 1.155 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004132/0.982, allocations: 121.9 kB / 1.155 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.9821, allocations: 87.98 kB / 1.155 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.9844, allocations: 1.068 MB / 1.156 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.9844, allocations: 0 / 1.156 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.633e-05/0.9845, allocations: 43.92 kB / 1.156 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.088e-05/0.9846, allocations: 38 kB / 1.156 GB, free: 13.35 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.9864, allocations: 0.8353 MB / 1.157 GB, free: 12.51 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.006255/0.9926, allocations: 4.06 MB / 1.161 GB, free: 8.188 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006359/0.9933, allocations: 366.6 kB / 1.161 GB, free: 7.82 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.9936, allocations: 212.8 kB / 1.161 GB, free: 7.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.9939, allocations: 97.09 kB / 1.161 GB, free: 7.496 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.9939, allocations: 42.56 kB / 1.161 GB, free: 7.445 MB / 0.92 GB Notification: Performance of pre-optimization done (n=36): time 2.114e-06/0.9939, allocations: 0 / 1.161 GB, free: 7.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=38): time 0.002878/0.9968, allocations: 1.333 MB / 1.163 GB, free: 6.059 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.9969, allocations: 55.41 kB / 1.163 GB, free: 5.992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.9985, allocations: 0.996 MB / 1.164 GB, free: 4.973 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.9986, allocations: 33.7 kB / 1.164 GB, free: 4.934 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.999, allocations: 499.3 kB / 1.164 GB, free: 4.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.9992, allocations: 141.9 kB / 1.164 GB, free: 4.301 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.9994, allocations: 118.2 kB / 1.164 GB, free: 4.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.9995, allocations: 330 kB / 1.165 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/1, allocations: 233.2 kB / 1.165 GB, free: 3.621 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/1.001, allocations: 405.3 kB / 1.165 GB, free: 3.16 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.002611/1.003, allocations: 1.199 MB / 1.166 GB, free: 1.875 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.003, allocations: 7.938 kB / 1.166 GB, free: 1.867 MB / 0.92 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001492/1.005, allocations: 0.7536 MB / 1.167 GB, free: 1.105 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.005, allocations: 11.94 kB / 1.167 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.005, allocations: 4 kB / 1.167 GB, free: 1.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/1.005, allocations: 8 kB / 1.167 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/1.005, allocations: 139.8 kB / 1.167 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/1.005, allocations: 12.25 kB / 1.167 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.007, allocations: 83.77 kB / 1.167 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/1.007, allocations: 24 kB / 1.167 GB, free: 0.8281 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.0004732/1.007, allocations: 325.1 kB / 1.168 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/1.007, allocations: 98.81 kB / 1.168 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/1.008, allocations: 105 kB / 1.168 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.008, allocations: 3.984 kB / 1.168 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.008, allocations: 4 kB / 1.168 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007341/1.008, allocations: 0.6713 MB / 1.169 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/1.011, allocations: 1.586 MB / 1.17 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.011, allocations: 4 kB / 1.17 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/1.011, allocations: 83.89 kB / 1.17 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/1.011, allocations: 7.938 kB / 1.17 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/1.011, allocations: 16 kB / 1.17 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.108e-06/1.011, allocations: 12.44 kB / 1.17 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.011, allocations: 8 kB / 1.17 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/1.013, allocations: 0.8255 MB / 1.171 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/1.013, allocations: 239.9 kB / 1.171 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/1.013, allocations: 12 kB / 1.171 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/1.014, allocations: 57.45 kB / 1.171 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/1.014, allocations: 35.84 kB / 1.171 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/1.014, allocations: 23.98 kB / 1.171 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001102/1.015, allocations: 0.7074 MB / 1.172 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.01e-07/1.015, allocations: 4 kB / 1.172 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008605/1.016, allocations: 248 kB / 1.172 GB, free: 11.48 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.0006176/1.017, allocations: 213.9 kB / 1.173 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001089/1.018, allocations: 496.2 kB / 1.173 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.018, allocations: 8.062 kB / 1.173 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/1.018, allocations: 191.6 kB / 1.173 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/1.021, allocations: 0.588 MB / 1.174 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/1.024, allocations: 2.175 MB / 1.176 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/1.025, allocations: 1.098 MB / 1.177 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009142/1.026, allocations: 248.2 kB / 1.177 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.026, allocations: 75.38 kB / 1.177 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/1.026, allocations: 0 / 1.177 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of Templates: time 0.0324/1.058, allocations: 18.96 MB / 1.196 GB, free: 3.641 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