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.001449/0.001449, allocations: 100.1 kB / 15.88 MB, free: 12 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.001733/0.001733, allocations: 196.6 kB / 16.79 MB, free: 6.809 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.621 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.573/2.573, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 59.91 kB / 0.8692 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7605, allocations: 151.6 MB / 1.017 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.2077/0.9682, allocations: 174.9 MB / 1.188 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008813/0.9771, allocations: 4.466 MB / 1.192 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.9785, allocations: 27.81 kB / 1.192 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.98, allocations: 306.3 kB / 1.193 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003835/0.9838, allocations: 1.18 MB / 1.194 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.9859, allocations: 0.6149 MB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002863/0.9888, allocations: 2.226 MB / 1.197 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009365/0.9898, allocations: 445.6 kB / 1.197 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.9915, allocations: 0.6028 MB / 1.198 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.9932, allocations: 0.492 MB / 1.198 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.9934, allocations: 28 kB / 1.198 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.9967, allocations: 1.465 MB / 1.2 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004425/0.9972, allocations: 211.4 kB / 1.2 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008078/0.998, allocations: 326.3 kB / 1.2 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/1, allocations: 0.9277 MB / 1.201 GB, free: 6 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1, allocations: 0 / 1.201 GB, free: 6 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.154e-06/1, allocations: 0 / 1.201 GB, free: 6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.11e-05/1, allocations: 0 / 1.201 GB, free: 6 MB / 0.9512 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.002621/1.003, allocations: 1.009 MB / 1.202 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.003, allocations: 8.031 kB / 1.202 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/1.004, allocations: 175 kB / 1.202 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/1.005, allocations: 0.5245 MB / 1.203 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/1.005, allocations: 33 kB / 1.203 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/1.005, allocations: 47.94 kB / 1.203 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009761/1.006, allocations: 474.2 kB / 1.203 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/1.006, allocations: 0 / 1.203 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/1.007, allocations: 20 kB / 1.203 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/1.007, allocations: 20.98 kB / 1.203 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008402/1.007, allocations: 415.7 kB / 1.204 GB, free: 3.195 MB / 0.9512 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.003183/1.011, allocations: 2.024 MB / 1.206 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/1.011, allocations: 294.7 kB / 1.206 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/1.012, allocations: 186.8 kB / 1.206 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/1.012, allocations: 198.2 kB / 1.206 GB, free: 288 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/1.012, allocations: 34.56 kB / 1.206 GB, free: 244 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 2.225e-06/1.012, allocations: 0 / 1.206 GB, free: 244 kB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.001767/1.014, allocations: 0.6514 MB / 1.207 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/1.014, allocations: 55.41 kB / 1.207 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/1.014, allocations: 446 kB / 1.207 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/1.014, allocations: 33.7 kB / 1.207 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/1.015, allocations: 280.2 kB / 1.208 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/1.015, allocations: 102.5 kB / 1.208 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/1.015, allocations: 61.7 kB / 1.208 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.015, allocations: 362.7 kB / 1.208 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/1.015, allocations: 136.5 kB / 1.208 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/1.016, allocations: 206.7 kB / 1.209 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/1.016, allocations: 328.9 kB / 1.209 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.016, allocations: 7.938 kB / 1.209 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008265/1.017, allocations: 412.8 kB / 1.209 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.017, allocations: 4 kB / 1.209 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.017, allocations: 4.062 kB / 1.209 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/1.017, allocations: 7.984 kB / 1.209 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/1.018, allocations: 67.91 kB / 1.209 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.018, allocations: 0 / 1.209 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/1.018, allocations: 67.8 kB / 1.209 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/1.018, allocations: 8 kB / 1.209 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004694/1.019, allocations: 292 kB / 1.21 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003142/1.019, allocations: 211.1 kB / 1.21 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005458/1.02, allocations: 321 kB / 1.21 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/1.02, allocations: 0 / 1.21 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007668/1.02, allocations: 405.1 kB / 1.211 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/1.02, allocations: 12.09 kB / 1.211 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/1.02, allocations: 0 / 1.211 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/1.02, allocations: 4 kB / 1.211 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/1.021, allocations: 71.89 kB / 1.211 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.021, allocations: 4 kB / 1.211 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/1.021, allocations: 51.72 kB / 1.211 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/1.021, allocations: 19.98 kB / 1.211 GB, free: 11.5 MB / 0.9669 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.0001887/1.022, allocations: 196.1 kB / 1.211 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.022, allocations: 51.38 kB / 1.211 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000904/1.023, allocations: 421.1 kB / 1.211 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/1.023, allocations: 4 kB / 1.211 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.023, allocations: 0 / 1.211 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000727/1.023, allocations: 449.3 kB / 1.212 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/1.025, allocations: 1.135 MB / 1.213 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.025, allocations: 8.031 kB / 1.213 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/1.026, allocations: 55.91 kB / 1.213 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/1.026, allocations: 44.83 kB / 1.213 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/1.026, allocations: 8 kB / 1.213 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/1.027, allocations: 1.445 MB / 1.214 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.027, allocations: 4 kB / 1.214 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/1.029, allocations: 0.6889 MB / 1.215 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/1.029, allocations: 168.4 kB / 1.215 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.762e-05/1.029, allocations: 8 kB / 1.215 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004611/1.029, allocations: 31.97 kB / 1.215 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/1.029, allocations: 31.97 kB / 1.215 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/1.03, allocations: 19.92 kB / 1.215 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004112/1.03, allocations: 314.9 kB / 1.216 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.03, allocations: 0 / 1.216 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009622/1.031, allocations: 303.2 kB / 1.216 GB, free: 5.844 MB / 0.9669 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.0005225/1.031, allocations: 187.9 kB / 1.216 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.032, allocations: 491.7 kB / 1.217 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.032, allocations: 0 / 1.217 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005167/1.033, allocations: 290.3 kB / 1.217 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/1.035, allocations: 313.8 kB / 1.217 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/1.037, allocations: 1.326 MB / 1.218 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/1.037, allocations: 0.9017 MB / 1.219 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/1.037, allocations: 47.42 kB / 1.219 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/1.037, allocations: 0 / 1.219 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of Templates: time 0.01537/1.053, allocations: 9.679 MB / 1.229 GB, free: 8.629 MB / 0.9825 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches