Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008667/0.008667, allocations: 96.17 kB / 15.73 MB, free: 6.039 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.002141/0.002141, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.11 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3524, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.9361/1.288, allocations: 177.6 MB / 1.394 GB, free: 10.82 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007575/1.296, allocations: 4.406 MB / 1.398 GB, free: 7.258 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/1.298, allocations: 29.31 kB / 1.398 GB, free: 7.246 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/1.3, allocations: 382.9 kB / 1.399 GB, free: 6.934 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004624/1.304, allocations: 1.298 MB / 1.4 GB, free: 5.945 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00208/1.306, allocations: 0.7078 MB / 1.401 GB, free: 5.414 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002404/1.309, allocations: 1.613 MB / 1.402 GB, free: 4.488 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/1.309, allocations: 452.1 kB / 1.403 GB, free: 4.199 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/1.311, allocations: 0.7012 MB / 1.403 GB, free: 3.773 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/1.312, allocations: 489.4 kB / 1.404 GB, free: 3.492 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-05/1.312, allocations: 53.25 kB / 1.404 GB, free: 3.492 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/1.315, allocations: 1.308 MB / 1.405 GB, free: 2.758 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002687/1.315, allocations: 238.5 kB / 1.405 GB, free: 2.598 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004002/1.315, allocations: 345.4 kB / 1.406 GB, free: 2.383 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/1.317, allocations: 1.291 MB / 1.407 GB, free: 1.562 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.317, allocations: 1.344 kB / 1.407 GB, free: 1.562 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.363e-06/1.317, allocations: 0 / 1.407 GB, free: 1.562 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.647e-05/1.317, allocations: 0 / 1.407 GB, free: 1.562 MB / 1.092 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.001741/1.319, allocations: 1.026 MB / 1.408 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/1.319, allocations: 12.28 kB / 1.408 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.32, allocations: 177.2 kB / 1.408 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008964/1.321, allocations: 0.5608 MB / 1.409 GB, free: 180 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/1.321, allocations: 34.88 kB / 1.409 GB, free: 164 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-05/1.321, allocations: 44.05 kB / 1.409 GB, free: 148 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/1.322, allocations: 463.1 kB / 1.409 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/1.322, allocations: 3.938 kB / 1.409 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/1.322, allocations: 17.41 kB / 1.409 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/1.322, allocations: 15.38 kB / 1.409 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007925/1.323, allocations: 424.3 kB / 1.41 GB, free: 15.66 MB / 1.107 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.003021/1.326, allocations: 2.034 MB / 1.412 GB, free: 13.91 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/1.327, allocations: 285.6 kB / 1.412 GB, free: 13.76 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/1.327, allocations: 179 kB / 1.412 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/1.327, allocations: 185.8 kB / 1.412 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.327, allocations: 41.19 kB / 1.412 GB, free: 13.43 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 2.454e-06/1.327, allocations: 0 / 1.412 GB, free: 13.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.001676/1.329, allocations: 0.6419 MB / 1.413 GB, free: 13.04 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.329, allocations: 53.91 kB / 1.413 GB, free: 12.98 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/1.329, allocations: 449.8 kB / 1.413 GB, free: 12.7 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/1.329, allocations: 32.2 kB / 1.413 GB, free: 12.66 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/1.33, allocations: 286.5 kB / 1.414 GB, free: 12.41 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.958e-05/1.33, allocations: 113.9 kB / 1.414 GB, free: 12.31 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/1.33, allocations: 72.42 kB / 1.414 GB, free: 12.26 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.33, allocations: 349.5 kB / 1.414 GB, free: 11.92 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/1.33, allocations: 137.2 kB / 1.414 GB, free: 11.85 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/1.331, allocations: 206.6 kB / 1.415 GB, free: 11.71 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/1.331, allocations: 340.3 kB / 1.415 GB, free: 11.5 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.331, allocations: 2.5 kB / 1.415 GB, free: 11.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007418/1.332, allocations: 404.5 kB / 1.415 GB, free: 11.29 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.332, allocations: 9.344 kB / 1.415 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.332, allocations: 2.625 kB / 1.415 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/1.332, allocations: 2.562 kB / 1.415 GB, free: 11.29 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/1.332, allocations: 72.47 kB / 1.415 GB, free: 11.27 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.332, allocations: 2.75 kB / 1.415 GB, free: 11.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/1.333, allocations: 44.03 kB / 1.415 GB, free: 11.24 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/1.333, allocations: 14.38 kB / 1.415 GB, free: 11.23 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004928/1.334, allocations: 287.3 kB / 1.416 GB, free: 11.05 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003312/1.334, allocations: 202.4 kB / 1.416 GB, free: 10.91 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005667/1.334, allocations: 327.7 kB / 1.416 GB, free: 10.71 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/1.334, allocations: 0 / 1.416 GB, free: 10.71 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007316/1.335, allocations: 414.5 kB / 1.417 GB, free: 10.49 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.335, allocations: 7.094 kB / 1.417 GB, free: 10.49 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.335, allocations: 13.75 kB / 1.417 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/1.335, allocations: 2.656 kB / 1.417 GB, free: 10.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/1.335, allocations: 69.66 kB / 1.417 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.335, allocations: 6.484 kB / 1.417 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/1.336, allocations: 33.89 kB / 1.417 GB, free: 10.44 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/1.336, allocations: 10.19 kB / 1.417 GB, free: 10.44 MB / 1.107 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.000173/1.336, allocations: 201.4 kB / 1.417 GB, free: 10.24 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/1.336, allocations: 50.44 kB / 1.417 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008516/1.337, allocations: 416.8 kB / 1.417 GB, free: 9.969 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.337, allocations: 5.656 kB / 1.417 GB, free: 9.969 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.337, allocations: 0 / 1.417 GB, free: 9.969 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006714/1.338, allocations: 447.6 kB / 1.418 GB, free: 9.652 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/1.34, allocations: 1.136 MB / 1.419 GB, free: 8.797 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.34, allocations: 0 / 1.419 GB, free: 8.797 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/1.34, allocations: 61.47 kB / 1.419 GB, free: 8.781 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/1.34, allocations: 44.56 kB / 1.419 GB, free: 8.754 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/1.34, allocations: 9.812 kB / 1.419 GB, free: 8.75 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/1.342, allocations: 1.535 MB / 1.421 GB, free: 7.215 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.342, allocations: 3.047 kB / 1.421 GB, free: 7.215 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/1.343, allocations: 0.7088 MB / 1.421 GB, free: 6.73 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/1.343, allocations: 164.5 kB / 1.421 GB, free: 6.578 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/1.343, allocations: 9.719 kB / 1.421 GB, free: 6.574 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/1.343, allocations: 15.55 kB / 1.421 GB, free: 6.566 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.741e-05/1.343, allocations: 26.41 kB / 1.421 GB, free: 6.551 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/1.343, allocations: 22.02 kB / 1.421 GB, free: 6.539 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004/1.344, allocations: 311.8 kB / 1.422 GB, free: 6.352 MB / 1.107 GB Notification: Performance of sort global known variables: time 9.1e-08/1.344, allocations: 0 / 1.422 GB, free: 6.352 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009992/1.345, allocations: 308.9 kB / 1.422 GB, free: 6.289 MB / 1.107 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.0004782/1.345, allocations: 191.8 kB / 1.422 GB, free: 6.156 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009342/1.346, allocations: 465.6 kB / 1.423 GB, free: 5.75 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.346, allocations: 8.125 kB / 1.423 GB, free: 5.742 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0005014/1.347, allocations: 284.2 kB / 1.423 GB, free: 5.453 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.348, allocations: 309.7 kB / 1.423 GB, free: 5.156 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/1.35, allocations: 1.094 MB / 1.424 GB, free: 4.012 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/1.35, allocations: 0.9052 MB / 1.425 GB, free: 3.078 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004878/1.351, allocations: 156.4 kB / 1.425 GB, free: 2.922 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/1.351, allocations: 43.44 kB / 1.425 GB, free: 2.879 MB / 1.107 GB Notification: Performance of SimCode: time 9.32e-07/1.351, allocations: 0 / 1.425 GB, free: 2.879 MB / 1.107 GB Notification: Performance of Templates: time 0.0189/1.37, allocations: 10.33 MB / 1.435 GB, free: 8.699 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches