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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 387.1 MB / 399.7 MB, free: 9.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 183.8 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.3 MB / 0.7872 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 91.89 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.677e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.269/5.592, allocations: 1.922 GB / 3.134 GB, free: 408.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/5.592, allocations: 84.52 kB / 3.134 GB, free: 408.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6652/6.257, allocations: 373.8 MB / 3.499 GB, free: 26.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.423e-06/6.257, allocations: 0 / 3.499 GB, free: 26.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.772e-05/6.257, allocations: 19.98 kB / 3.499 GB, free: 26.96 MB / 1.151 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.001402/6.259, allocations: 0.8803 MB / 3.5 GB, free: 26.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/6.259, allocations: 8.031 kB / 3.5 GB, free: 26.03 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/6.26, allocations: 175 kB / 3.5 GB, free: 25.86 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/6.26, allocations: 0.5638 MB / 3.501 GB, free: 25.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/6.261, allocations: 33 kB / 3.501 GB, free: 25.22 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/6.261, allocations: 44 kB / 3.501 GB, free: 25.18 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/6.261, allocations: 426.5 kB / 3.501 GB, free: 24.76 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/6.261, allocations: 0 / 3.501 GB, free: 24.76 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.31e-05/6.261, allocations: 16 kB / 3.501 GB, free: 24.74 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/6.261, allocations: 16.98 kB / 3.501 GB, free: 24.72 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/6.262, allocations: 367.9 kB / 3.502 GB, free: 24.37 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.002199/6.264, allocations: 2.014 MB / 3.504 GB, free: 22.17 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/6.265, allocations: 271.3 kB / 3.504 GB, free: 21.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/6.265, allocations: 170 kB / 3.504 GB, free: 21.73 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002396/6.265, allocations: 190.2 kB / 3.504 GB, free: 21.51 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/6.265, allocations: 42.56 kB / 3.504 GB, free: 21.46 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 3.246e-06/6.265, allocations: 0 / 3.504 GB, free: 21.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.00087/6.266, allocations: 391.7 kB / 3.505 GB, free: 21.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/6.266, allocations: 55.41 kB / 3.505 GB, free: 21 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/6.266, allocations: 391.7 kB / 3.505 GB, free: 20.61 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/6.266, allocations: 33.7 kB / 3.505 GB, free: 20.57 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/6.266, allocations: 272.3 kB / 3.505 GB, free: 20.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/6.267, allocations: 106.5 kB / 3.505 GB, free: 20.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/6.267, allocations: 7.938 kB / 3.505 GB, free: 20.19 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/6.267, allocations: 358.8 kB / 3.506 GB, free: 19.83 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/6.267, allocations: 108 kB / 3.506 GB, free: 19.72 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/6.267, allocations: 208 kB / 3.506 GB, free: 19.49 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/6.267, allocations: 144.4 kB / 3.506 GB, free: 19.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/6.267, allocations: 0 / 3.506 GB, free: 19.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004641/6.268, allocations: 368.8 kB / 3.507 GB, free: 18.98 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/6.268, allocations: 0.5332 MB / 3.507 GB, free: 18.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/6.268, allocations: 4 kB / 3.507 GB, free: 18.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/6.268, allocations: 4 kB / 3.507 GB, free: 18.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/6.268, allocations: 71.91 kB / 3.507 GB, free: 18.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/6.268, allocations: 7.984 kB / 3.507 GB, free: 18.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/6.269, allocations: 59.66 kB / 3.507 GB, free: 18.26 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/6.269, allocations: 19.98 kB / 3.507 GB, free: 18.24 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/6.269, allocations: 6.188 kB / 3.507 GB, free: 18.24 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003996/6.269, allocations: 292 kB / 3.507 GB, free: 17.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/6.269, allocations: 0 / 3.507 GB, free: 17.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/6.269, allocations: 8.156 kB / 3.507 GB, free: 17.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/6.269, allocations: 75.89 kB / 3.508 GB, free: 17.87 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/6.269, allocations: 0 / 3.508 GB, free: 17.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/6.27, allocations: 63.73 kB / 3.508 GB, free: 17.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/6.27, allocations: 12 kB / 3.508 GB, free: 17.8 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.408e-05/6.27, allocations: 129.6 kB / 3.508 GB, free: 17.66 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/6.27, allocations: 51.34 kB / 3.508 GB, free: 17.61 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/6.271, allocations: 387.5 kB / 3.508 GB, free: 17.22 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/6.271, allocations: 8 kB / 3.508 GB, free: 17.21 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/6.271, allocations: 3.953 kB / 3.508 GB, free: 17.21 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004556/6.271, allocations: 409.2 kB / 3.509 GB, free: 16.78 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/6.273, allocations: 1.11 MB / 3.51 GB, free: 15.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/6.273, allocations: 0 / 3.51 GB, free: 15.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/6.273, allocations: 59.91 kB / 3.51 GB, free: 15.53 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/6.273, allocations: 49.05 kB / 3.51 GB, free: 15.48 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/6.273, allocations: 15.98 kB / 3.51 GB, free: 15.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/6.275, allocations: 1.429 MB / 3.511 GB, free: 13.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/6.275, allocations: 7.953 kB / 3.511 GB, free: 13.89 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/6.275, allocations: 0.7379 MB / 3.512 GB, free: 13.07 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/6.276, allocations: 172.3 kB / 3.512 GB, free: 12.88 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/6.276, allocations: 8 kB / 3.512 GB, free: 12.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/6.276, allocations: 39.97 kB / 3.512 GB, free: 12.84 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/6.276, allocations: 27.91 kB / 3.512 GB, free: 12.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/6.276, allocations: 11.98 kB / 3.512 GB, free: 12.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003812/6.277, allocations: 305.6 kB / 3.512 GB, free: 12.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.277, allocations: 0 / 3.512 GB, free: 12.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001533/6.278, allocations: 411.3 kB / 3.513 GB, free: 12.1 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/6.28, allocations: 1.108 MB / 3.514 GB, free: 10.98 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008094/6.281, allocations: 454.8 kB / 3.514 GB, free: 10.53 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/6.281, allocations: 4 kB / 3.514 GB, free: 10.53 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/6.281, allocations: 279.8 kB / 3.515 GB, free: 10.24 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/6.283, allocations: 301 kB / 3.515 GB, free: 9.953 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/6.284, allocations: 0.836 MB / 3.516 GB, free: 9.062 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/6.285, allocations: 0.9104 MB / 3.517 GB, free: 8.125 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007325/6.285, allocations: 212.3 kB / 3.517 GB, free: 7.918 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.14e-05/6.285, allocations: 31.44 kB / 3.517 GB, free: 7.887 MB / 1.151 GB Notification: Performance of SimCode: time 1.252e-06/6.286, allocations: 0 / 3.517 GB, free: 7.887 MB / 1.151 GB Notification: Performance of Templates: time 0.665/6.951, allocations: 26.63 MB / 3.543 GB, free: 311.2 MB / 1.151 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","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches