Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001055/0.001055, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008879/0.008879, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.519/1.519, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.378/2.378, allocations: 390.9 MB / 0.6663 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003912/0.0003916, allocations: 15.98 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7648, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2339/0.9988, allocations: 172.6 MB / 1.124 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007689/1.007, allocations: 4.409 MB / 1.128 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009269/1.008, allocations: 27.75 kB / 1.128 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/1.009, allocations: 298.4 kB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003482/1.012, allocations: 1.192 MB / 1.129 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/1.014, allocations: 0.6217 MB / 1.13 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00287/1.017, allocations: 2.21 MB / 1.132 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007997/1.018, allocations: 444.9 kB / 1.133 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/1.019, allocations: 0.5795 MB / 1.133 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/1.021, allocations: 0.4936 MB / 1.134 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/1.021, allocations: 20 kB / 1.134 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/1.024, allocations: 1.45 MB / 1.135 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/1.024, allocations: 199.4 kB / 1.135 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005846/1.025, allocations: 336 kB / 1.136 GB, free: 5.797 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/1.027, allocations: 1.305 MB / 1.137 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.027, allocations: 0 / 1.137 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.904e-06/1.027, allocations: 0 / 1.137 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.777e-05/1.027, allocations: 0 / 1.137 GB, free: 4.488 MB / 0.8887 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.001752/1.029, allocations: 0.8841 MB / 1.138 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.029, allocations: 8.031 kB / 1.138 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/1.03, allocations: 175 kB / 1.138 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009186/1.031, allocations: 0.5246 MB / 1.138 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/1.031, allocations: 33 kB / 1.138 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/1.031, allocations: 47.98 kB / 1.138 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008893/1.032, allocations: 478.3 kB / 1.139 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.032, allocations: 0 / 1.139 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/1.032, allocations: 16 kB / 1.139 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/1.032, allocations: 13 kB / 1.139 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008107/1.033, allocations: 431.7 kB / 1.139 GB, free: 1.805 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.002851/1.036, allocations: 2.039 MB / 1.141 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/1.036, allocations: 294.7 kB / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/1.037, allocations: 205.8 kB / 1.142 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/1.037, allocations: 186.2 kB / 1.142 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/1.037, allocations: 42.55 kB / 1.142 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/1.037, allocations: 0 / 1.142 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.001809/1.039, allocations: 0.6559 MB / 1.143 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/1.039, allocations: 59.41 kB / 1.143 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/1.039, allocations: 446 kB / 1.143 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/1.039, allocations: 33.7 kB / 1.143 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/1.04, allocations: 284.1 kB / 1.143 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/1.04, allocations: 98.56 kB / 1.144 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-05/1.04, allocations: 33.7 kB / 1.144 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.04, allocations: 358.8 kB / 1.144 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/1.04, allocations: 131.9 kB / 1.144 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/1.041, allocations: 210.5 kB / 1.144 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/1.041, allocations: 341.5 kB / 1.145 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.041, allocations: 4 kB / 1.145 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007831/1.042, allocations: 420.8 kB / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-05/1.042, allocations: 123.3 kB / 1.145 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/1.042, allocations: 3.984 kB / 1.145 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.042, allocations: 8.062 kB / 1.145 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/1.043, allocations: 71.91 kB / 1.145 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.043, allocations: 4 kB / 1.145 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/1.043, allocations: 67.62 kB / 1.145 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/1.043, allocations: 12 kB / 1.145 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/1.043, allocations: 4 kB / 1.145 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006534/1.044, allocations: 344 kB / 1.146 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.044, allocations: 4 kB / 1.146 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/1.044, allocations: 7.938 kB / 1.146 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/1.044, allocations: 67.91 kB / 1.146 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.044, allocations: 7.984 kB / 1.146 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00054/1.045, allocations: 63.72 kB / 1.146 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/1.045, allocations: 12 kB / 1.146 GB, free: 10.86 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000322/1.045, allocations: 289 kB / 1.146 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/1.045, allocations: 51.42 kB / 1.146 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009244/1.046, allocations: 424.6 kB / 1.146 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.046, allocations: 8 kB / 1.146 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.046, allocations: 0 / 1.146 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007535/1.047, allocations: 453.4 kB / 1.147 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/1.049, allocations: 1.152 MB / 1.148 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.049, allocations: 4 kB / 1.148 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/1.05, allocations: 59.89 kB / 1.148 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/1.05, allocations: 53.05 kB / 1.148 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/1.05, allocations: 8 kB / 1.148 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/1.052, allocations: 1.429 MB / 1.15 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/1.052, allocations: 4.062 kB / 1.15 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/1.053, allocations: 0.7168 MB / 1.15 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/1.053, allocations: 168.5 kB / 1.15 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/1.053, allocations: 11.94 kB / 1.15 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/1.054, allocations: 37.61 kB / 1.15 GB, free: 5.695 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/1.054, allocations: 31.91 kB / 1.151 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/1.054, allocations: 15.98 kB / 1.151 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003694/1.054, allocations: 314.9 kB / 1.151 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.9e-07/1.054, allocations: 0 / 1.151 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009843/1.055, allocations: 311.2 kB / 1.151 GB, free: 5.039 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006051/1.056, allocations: 185.2 kB / 1.151 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001134/1.057, allocations: 499.5 kB / 1.152 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/1.057, allocations: 4 kB / 1.152 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005485/1.057, allocations: 297 kB / 1.152 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/1.059, allocations: 311.4 kB / 1.152 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/1.062, allocations: 1.351 MB / 1.154 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/1.062, allocations: 0.9017 MB / 1.155 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005947/1.063, allocations: 156.4 kB / 1.155 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/1.063, allocations: 39.44 kB / 1.155 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of SimCode: time 8.51e-07/1.063, allocations: 4 kB / 1.155 GB, free: 1.234 MB / 0.9044 GB Notification: Performance of Templates: time 0.0186/1.081, allocations: 9.799 MB / 1.164 GB, free: 7.59 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches