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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0011/0.001099, allocations: 91.53 kB / 16.02 MB, free: 80 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.001526/0.001526, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.397/1.397, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 8 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7424/0.7428, allocations: 142.4 MB / 0.9557 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1941/0.9369, allocations: 172.6 MB / 1.124 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007593/0.9446, allocations: 4.419 MB / 1.129 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.9457, allocations: 27.75 kB / 1.129 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.9469, allocations: 302.3 kB / 1.129 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.9505, allocations: 1.182 MB / 1.13 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.9524, allocations: 0.628 MB / 1.131 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002836/0.9553, allocations: 2.214 MB / 1.133 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009622/0.9563, allocations: 448.9 kB / 1.133 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.958, allocations: 0.5795 MB / 1.134 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.9595, allocations: 491.9 kB / 1.134 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.9596, allocations: 20 kB / 1.134 GB, free: 7.82 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.9627, allocations: 1.453 MB / 1.136 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003862/0.9631, allocations: 203.3 kB / 1.136 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006229/0.9637, allocations: 336 kB / 1.136 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.9655, allocations: 0.9198 MB / 1.137 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.9655, allocations: 7.938 kB / 1.137 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9655, allocations: 0 / 1.137 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.116e-05/0.9655, allocations: 0 / 1.137 GB, free: 4.898 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.002016/0.9676, allocations: 0.8814 MB / 1.138 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.9676, allocations: 8.031 kB / 1.138 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.969, allocations: 175 kB / 1.138 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.9701, allocations: 0.5323 MB / 1.139 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.9701, allocations: 29 kB / 1.139 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.721e-05/0.9702, allocations: 44 kB / 1.139 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.9712, allocations: 478.3 kB / 1.139 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.9712, allocations: 0 / 1.139 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.9713, allocations: 16 kB / 1.139 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.9713, allocations: 13 kB / 1.139 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.9721, allocations: 431.7 kB / 1.14 GB, free: 2.219 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.003008/0.9752, allocations: 2.039 MB / 1.142 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.9758, allocations: 298.8 kB / 1.142 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.9761, allocations: 196.7 kB / 1.142 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.9765, allocations: 194.2 kB / 1.142 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.9765, allocations: 38.56 kB / 1.142 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.465e-06/0.9765, allocations: 0 / 1.142 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.001745/0.9783, allocations: 0.6598 MB / 1.143 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.9784, allocations: 55.41 kB / 1.143 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.9789, allocations: 442 kB / 1.143 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.979, allocations: 33.7 kB / 1.143 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.9792, allocations: 280.1 kB / 1.144 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.9793, allocations: 106.5 kB / 1.144 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.9794, allocations: 29.7 kB / 1.144 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.9796, allocations: 358.8 kB / 1.144 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.9799, allocations: 131.9 kB / 1.144 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/0.9802, allocations: 210.5 kB / 1.145 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.9808, allocations: 341.4 kB / 1.145 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9809, allocations: 7.938 kB / 1.145 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008412/0.9817, allocations: 420.9 kB / 1.145 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.9818, allocations: 125.3 kB / 1.145 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.9818, allocations: 4.062 kB / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.9819, allocations: 8.062 kB / 1.145 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.9822, allocations: 71.91 kB / 1.145 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.9823, allocations: 4 kB / 1.145 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005829/0.9829, allocations: 65.27 kB / 1.146 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.9829, allocations: 12 kB / 1.146 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.9829, allocations: 4 kB / 1.146 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006726/0.9836, allocations: 344 kB / 1.146 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.9836, allocations: 4 kB / 1.146 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.9836, allocations: 3.938 kB / 1.146 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.9839, allocations: 71.89 kB / 1.146 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.984, allocations: 7.938 kB / 1.146 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.9845, allocations: 67.77 kB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.9846, allocations: 8 kB / 1.146 GB, free: 11.28 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.0003488/0.9849, allocations: 289 kB / 1.146 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.9851, allocations: 51.38 kB / 1.146 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009381/0.986, allocations: 424.6 kB / 1.147 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.986, allocations: 8 kB / 1.147 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.986, allocations: 0 / 1.147 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007356/0.9868, allocations: 453.4 kB / 1.147 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.9888, allocations: 1.148 MB / 1.148 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9888, allocations: 4 kB / 1.148 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.9891, allocations: 59.91 kB / 1.148 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.9894, allocations: 49.05 kB / 1.148 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.9894, allocations: 8 kB / 1.148 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.9908, allocations: 1.429 MB / 1.15 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.9908, allocations: 8.062 kB / 1.15 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.992, allocations: 0.7218 MB / 1.151 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.9924, allocations: 164.4 kB / 1.151 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.202e-05/0.9925, allocations: 11.94 kB / 1.151 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.993, allocations: 37.55 kB / 1.151 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.18e-05/0.9931, allocations: 31.97 kB / 1.151 GB, free: 6.082 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.9931, allocations: 11.98 kB / 1.151 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004085/0.9935, allocations: 314.9 kB / 1.151 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9935, allocations: 0 / 1.151 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001067/0.9946, allocations: 307.3 kB / 1.151 GB, free: 5.465 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.0005411/0.9952, allocations: 197.7 kB / 1.152 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.9963, allocations: 499.5 kB / 1.152 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.9963, allocations: 4 kB / 1.152 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.9969, allocations: 291.5 kB / 1.152 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.9988, allocations: 306.3 kB / 1.153 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/1.001, allocations: 1.389 MB / 1.154 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/1.002, allocations: 0.8939 MB / 1.155 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/1.002, allocations: 51.36 kB / 1.155 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of SimCode: time 8.02e-07/1.002, allocations: 0 / 1.155 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of Templates: time 0.01556/1.017, allocations: 9.606 MB / 1.164 GB, free: 8.238 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches