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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00179/0.00179, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001923/0.001924, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 60.56 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.7795/1.109, allocations: 177.1 MB / 1.191 GB, free: 36 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008233/1.117, allocations: 4.398 MB / 1.195 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/1.119, allocations: 27.81 kB / 1.195 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/1.12, allocations: 362.1 kB / 1.196 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003723/1.124, allocations: 1.247 MB / 1.197 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/1.126, allocations: 0.6859 MB / 1.198 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002398/1.128, allocations: 1.613 MB / 1.199 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000928/1.129, allocations: 0.5336 MB / 1.2 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/1.131, allocations: 0.6824 MB / 1.2 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/1.132, allocations: 493.5 kB / 1.201 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-05/1.132, allocations: 52.12 kB / 1.201 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/1.135, allocations: 1.287 MB / 1.202 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003318/1.135, allocations: 234.8 kB / 1.202 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004765/1.136, allocations: 344.1 kB / 1.203 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002419/1.138, allocations: 1.262 MB / 1.204 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.138, allocations: 0 / 1.204 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.537e-06/1.138, allocations: 1.812 kB / 1.204 GB, free: 6.875 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.027e-05/1.138, allocations: 0 / 1.204 GB, free: 6.875 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00172/1.14, allocations: 1.012 MB / 1.205 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/1.14, allocations: 8.922 kB / 1.205 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/1.141, allocations: 177.7 kB / 1.205 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008649/1.142, allocations: 0.5267 MB / 1.206 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/1.142, allocations: 37.95 kB / 1.206 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/1.142, allocations: 40.19 kB / 1.206 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/1.143, allocations: 467.6 kB / 1.206 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/1.143, allocations: 3.938 kB / 1.206 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/1.143, allocations: 18.25 kB / 1.206 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/1.143, allocations: 19.81 kB / 1.206 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000762/1.144, allocations: 416.3 kB / 1.206 GB, free: 5.004 MB / 0.9044 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.002924/1.147, allocations: 2.047 MB / 1.208 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005297/1.147, allocations: 292.2 kB / 1.209 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/1.148, allocations: 194.7 kB / 1.209 GB, free: 3 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/1.148, allocations: 191.2 kB / 1.209 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/1.148, allocations: 32.84 kB / 1.209 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=30): time 2.265e-06/1.148, allocations: 0 / 1.209 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30): time 0.001698/1.15, allocations: 0.653 MB / 1.21 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/1.15, allocations: 60.28 kB / 1.21 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/1.15, allocations: 440.2 kB / 1.21 GB, free: 2.031 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/1.15, allocations: 32.8 kB / 1.21 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/1.151, allocations: 280.4 kB / 1.211 GB, free: 1.746 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/1.151, allocations: 107.1 kB / 1.211 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/1.151, allocations: 65.97 kB / 1.211 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002076/1.151, allocations: 356.7 kB / 1.211 GB, free: 1.262 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/1.151, allocations: 137.7 kB / 1.211 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/1.152, allocations: 199.7 kB / 1.211 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/1.152, allocations: 338.1 kB / 1.212 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.152, allocations: 0 / 1.212 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007365/1.153, allocations: 409.8 kB / 1.212 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.153, allocations: 8.406 kB / 1.212 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.153, allocations: 4.062 kB / 1.212 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.153, allocations: 6.75 kB / 1.212 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/1.154, allocations: 64.09 kB / 1.212 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.154, allocations: 6.859 kB / 1.212 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/1.154, allocations: 40.36 kB / 1.212 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/1.154, allocations: 14.28 kB / 1.212 GB, free: 0.5781 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004543/1.155, allocations: 291.2 kB / 1.213 GB, free: 400 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003121/1.155, allocations: 206.1 kB / 1.213 GB, free: 252 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005362/1.155, allocations: 322.8 kB / 1.213 GB, free: 56 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/1.155, allocations: 0 / 1.213 GB, free: 56 kB / 0.9044 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006976/1.156, allocations: 404.5 kB / 1.213 GB, free: 15.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/1.156, allocations: 5.344 kB / 1.213 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.156, allocations: 6.469 kB / 1.213 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-06/1.156, allocations: 2.531 kB / 1.213 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/1.156, allocations: 73.39 kB / 1.214 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/1.156, allocations: 2.781 kB / 1.214 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/1.157, allocations: 33.25 kB / 1.214 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/1.157, allocations: 18.44 kB / 1.214 GB, free: 15.79 MB / 0.92 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.0001839/1.157, allocations: 193 kB / 1.214 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/1.157, allocations: 52.19 kB / 1.214 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008529/1.158, allocations: 423.1 kB / 1.214 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.158, allocations: 2.906 kB / 1.214 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.158, allocations: 5.125 kB / 1.214 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007146/1.159, allocations: 450.8 kB / 1.215 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/1.161, allocations: 1.136 MB / 1.216 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/1.161, allocations: 2.812 kB / 1.216 GB, free: 14.14 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/1.161, allocations: 50.56 kB / 1.216 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/1.161, allocations: 63.2 kB / 1.216 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/1.161, allocations: 9.656 kB / 1.216 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/1.163, allocations: 1.542 MB / 1.217 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.163, allocations: 10.02 kB / 1.217 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/1.164, allocations: 0.6921 MB / 1.218 GB, free: 11.87 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/1.164, allocations: 164.3 kB / 1.218 GB, free: 11.69 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/1.164, allocations: 8 kB / 1.218 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/1.165, allocations: 19.98 kB / 1.218 GB, free: 11.66 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/1.165, allocations: 23.97 kB / 1.218 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/1.165, allocations: 23.86 kB / 1.218 GB, free: 11.62 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004123/1.165, allocations: 310.9 kB / 1.219 GB, free: 11.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/1.165, allocations: 4.062 kB / 1.219 GB, free: 11.31 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000923/1.166, allocations: 303.3 kB / 1.219 GB, free: 11.02 MB / 0.92 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.0004944/1.167, allocations: 194.2 kB / 1.219 GB, free: 10.83 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001107/1.168, allocations: 0.5033 MB / 1.22 GB, free: 10.33 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.168, allocations: 0 / 1.22 GB, free: 10.33 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005417/1.168, allocations: 291.4 kB / 1.22 GB, free: 10.03 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.17, allocations: 307.5 kB / 1.22 GB, free: 9.738 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/1.172, allocations: 1.136 MB / 1.221 GB, free: 8.543 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/1.172, allocations: 0.9014 MB / 1.222 GB, free: 7.613 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/1.172, allocations: 39.44 kB / 1.222 GB, free: 7.574 MB / 0.92 GB Notification: Performance of SimCode: time 6.51e-07/1.172, allocations: 0 / 1.222 GB, free: 7.574 MB / 0.92 GB Notification: Performance of Templates: time 0.0155/1.188, allocations: 9.63 MB / 1.232 GB, free: 14.03 MB / 0.9356 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=400 -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