Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 84.38 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.001249/0.001249, 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.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437.7 MB / 0.7117 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 11.94 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5816/0.5819, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1596/0.7416, allocations: 161 MB / 1.18 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006304/0.7479, allocations: 4.135 MB / 1.184 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005787/0.7486, allocations: 27.81 kB / 1.184 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007226/0.7493, allocations: 246.4 kB / 1.184 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.7515, allocations: 0.898 MB / 1.185 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.7529, allocations: 0.5384 MB / 1.185 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001872/0.7548, allocations: 1.871 MB / 1.187 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005573/0.7554, allocations: 384.4 kB / 1.188 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009357/0.7563, allocations: 0.564 MB / 1.188 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006281/0.757, allocations: 470 kB / 1.189 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.757, allocations: 20 kB / 1.189 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.7586, allocations: 0.8146 MB / 1.189 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.7588, allocations: 199.4 kB / 1.19 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.759, allocations: 149.4 kB / 1.19 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009289/0.7599, allocations: 0.8651 MB / 1.191 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7599, allocations: 4 kB / 1.191 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7599, allocations: 4 kB / 1.191 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.7599, allocations: 0 / 1.191 GB, free: 3.359 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001314/0.7613, allocations: 0.888 MB / 1.191 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.7613, allocations: 12.02 kB / 1.191 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.7623, allocations: 175 kB / 1.192 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007337/0.7631, allocations: 0.5092 MB / 1.192 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.7631, allocations: 37 kB / 1.192 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.7632, allocations: 44 kB / 1.192 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007946/0.764, allocations: 466.4 kB / 1.193 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.764, allocations: 0 / 1.193 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.7641, allocations: 16 kB / 1.193 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.7641, allocations: 20.94 kB / 1.193 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007391/0.7649, allocations: 427.7 kB / 1.193 GB, free: 0.6914 MB / 0.9356 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.002453/0.7673, allocations: 2.035 MB / 1.195 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.7678, allocations: 290.8 kB / 1.195 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.7681, allocations: 194.3 kB / 1.196 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.7684, allocations: 190.2 kB / 1.196 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.7684, allocations: 50.44 kB / 1.196 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.7684, allocations: 0 / 1.196 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.001508/0.77, allocations: 0.6516 MB / 1.196 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.77, allocations: 55.41 kB / 1.196 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.7705, allocations: 442 kB / 1.197 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.7705, allocations: 37.64 kB / 1.197 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.7707, allocations: 280.2 kB / 1.197 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.006e-05/0.7708, allocations: 102.4 kB / 1.197 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.7708, allocations: 12 kB / 1.197 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7709, allocations: 354.8 kB / 1.198 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.7712, allocations: 127.9 kB / 1.198 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.7715, allocations: 210.5 kB / 1.198 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.7718, allocations: 155.9 kB / 1.198 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7718, allocations: 4 kB / 1.198 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00067/0.7725, allocations: 412.8 kB / 1.198 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.7726, allocations: 130.8 kB / 1.199 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7726, allocations: 4 kB / 1.199 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7726, allocations: 7.938 kB / 1.199 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.773, allocations: 79.83 kB / 1.199 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.773, allocations: 4 kB / 1.199 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.7734, allocations: 63.64 kB / 1.199 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.7735, allocations: 16 kB / 1.199 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.7735, allocations: 4 kB / 1.199 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005956/0.7741, allocations: 340 kB / 1.199 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.7741, allocations: 4 kB / 1.199 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-06/0.7741, allocations: 3.953 kB / 1.199 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.7744, allocations: 67.91 kB / 1.199 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.7744, allocations: 7.984 kB / 1.199 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.7749, allocations: 59.86 kB / 1.199 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.7749, allocations: 8 kB / 1.199 GB, free: 10 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0002376/0.7751, allocations: 281 kB / 1.199 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.7752, allocations: 55.34 kB / 1.2 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008073/0.7761, allocations: 433.1 kB / 1.2 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.7761, allocations: 8 kB / 1.2 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7761, allocations: 0 / 1.2 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006631/0.7768, allocations: 461.4 kB / 1.2 GB, free: 8.742 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.7784, allocations: 1.142 MB / 1.202 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.7784, allocations: 7.953 kB / 1.202 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.7787, allocations: 59.91 kB / 1.202 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.7789, allocations: 48.81 kB / 1.202 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.7789, allocations: 8 kB / 1.202 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.7801, allocations: 1.433 MB / 1.203 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.7801, allocations: 4.031 kB / 1.203 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.7811, allocations: 0.7086 MB / 1.204 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.7813, allocations: 164.3 kB / 1.204 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.09e-05/0.7814, allocations: 12 kB / 1.204 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.7818, allocations: 36.03 kB / 1.204 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.7819, allocations: 27.92 kB / 1.204 GB, free: 4.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.7819, allocations: 15.94 kB / 1.204 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003204/0.7822, allocations: 314.9 kB / 1.204 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7822, allocations: 3.938 kB / 1.204 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008233/0.7831, allocations: 307.2 kB / 1.205 GB, free: 4.195 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004358/0.7835, allocations: 189 kB / 1.205 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009133/0.7844, allocations: 0.5004 MB / 1.205 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7844, allocations: 0 / 1.205 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.7849, allocations: 301.7 kB / 1.206 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.7864, allocations: 302.9 kB / 1.206 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.7881, allocations: 1.349 MB / 1.207 GB, free: 1.512 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.7886, allocations: 0.9017 MB / 1.208 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005588/0.7892, allocations: 156.4 kB / 1.208 GB, free: 440 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.7893, allocations: 47.42 kB / 1.208 GB, free: 392 kB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.7893, allocations: 4 kB / 1.208 GB, free: 388 kB / 0.9512 GB Notification: Performance of Templates: time 0.01669/0.806, allocations: 9.497 MB / 1.217 GB, free: 7.035 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches