Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.000897, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.00092/0.00092, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.422 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.598/2.598, allocations: 390.3 MB / 0.6653 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8314, allocations: 142.3 MB / 0.9535 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1834/1.015, allocations: 156.6 MB / 1.106 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01405/1.029, allocations: 10.03 MB / 1.116 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/1.03, allocations: 39.69 kB / 1.116 GB, free: 9.172 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/1.032, allocations: 0.5015 MB / 1.117 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/1.038, allocations: 1.971 MB / 1.119 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005797/1.043, allocations: 2.151 MB / 1.121 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002907/1.046, allocations: 1.537 MB / 1.122 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008873/1.047, allocations: 0.6022 MB / 1.123 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/1.049, allocations: 0.771 MB / 1.124 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/1.05, allocations: 0.6891 MB / 1.124 GB, free: 0.9336 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/1.05, allocations: 44 kB / 1.124 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004289/1.054, allocations: 1.966 MB / 1.126 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004214/1.055, allocations: 339.1 kB / 1.127 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/1.055, allocations: 233.1 kB / 1.127 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002867/1.058, allocations: 1.894 MB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/1.058, allocations: 0 / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.905e-06/1.058, allocations: 0 / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.735e-05/1.058, allocations: 4 kB / 1.129 GB, free: 12.45 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003314/1.061, allocations: 1.452 MB / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/1.061, allocations: 12.03 kB / 1.13 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/1.063, allocations: 294.3 kB / 1.13 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/1.065, allocations: 0.7498 MB / 1.131 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/1.065, allocations: 53.3 kB / 1.131 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/1.065, allocations: 63.98 kB / 1.131 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/1.066, allocations: 0.9882 MB / 1.132 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/1.066, allocations: 0 / 1.132 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/1.067, allocations: 35.92 kB / 1.132 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/1.067, allocations: 77.89 kB / 1.132 GB, free: 8.625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/1.068, allocations: 1.023 MB / 1.133 GB, free: 7.602 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.006443/1.075, allocations: 3.574 MB / 1.137 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/1.076, allocations: 0.6611 MB / 1.137 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.037e-05/1.076, allocations: 20.55 kB / 1.137 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.076, allocations: 39.08 kB / 1.138 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 2.945e-06/1.076, allocations: 0 / 1.138 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.001999/1.078, allocations: 1.033 MB / 1.139 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.078, allocations: 111.4 kB / 1.139 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/1.079, allocations: 0.7941 MB / 1.139 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.806e-05/1.079, allocations: 37.7 kB / 1.139 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/1.08, allocations: 428.1 kB / 1.14 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/1.08, allocations: 216.8 kB / 1.14 GB, free: 408 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/1.08, allocations: 12 kB / 1.14 GB, free: 396 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.08, allocations: 334 kB / 1.14 GB, free: 56 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/1.081, allocations: 329.9 kB / 1.141 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/1.081, allocations: 448.7 kB / 1.141 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/1.082, allocations: 403 kB / 1.142 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.082, allocations: 0 / 1.142 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001389/1.083, allocations: 0.9063 MB / 1.142 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003889/1.084, allocations: 0.8846 MB / 1.143 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.084, allocations: 64 / 1.143 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.084, allocations: 12 kB / 1.143 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006996/1.084, allocations: 143.8 kB / 1.143 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.084, allocations: 7.953 kB / 1.143 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/1.085, allocations: 115.1 kB / 1.144 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/1.085, allocations: 35.94 kB / 1.144 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/1.085, allocations: 0 / 1.144 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/1.087, allocations: 0.7804 MB / 1.144 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.087, allocations: 4 kB / 1.144 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/1.087, allocations: 4 kB / 1.144 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/1.087, allocations: 143.8 kB / 1.144 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.087, allocations: 7.938 kB / 1.144 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/1.088, allocations: 103.5 kB / 1.145 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/1.088, allocations: 31.98 kB / 1.145 GB, free: 11.62 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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 0.0004777/1.088, allocations: 372.6 kB / 1.145 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.089, allocations: 94.97 kB / 1.145 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/1.09, allocations: 0.8046 MB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.09, allocations: 8 kB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.09, allocations: 0 / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009946/1.091, allocations: 0.7439 MB / 1.147 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/1.094, allocations: 2.097 MB / 1.149 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.094, allocations: 0 / 1.149 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006551/1.095, allocations: 135.8 kB / 1.149 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/1.095, allocations: 11.95 kB / 1.149 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/1.095, allocations: 16 kB / 1.149 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/1.095, allocations: 4 kB / 1.149 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.095, allocations: 7.938 kB / 1.149 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/1.097, allocations: 1.528 MB / 1.15 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/1.097, allocations: 259.8 kB / 1.151 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/1.097, allocations: 16 kB / 1.151 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/1.098, allocations: 47.81 kB / 1.151 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/1.098, allocations: 60.27 kB / 1.151 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/1.098, allocations: 20 kB / 1.151 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006916/1.099, allocations: 0.5498 MB / 1.151 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.099, allocations: 0 / 1.151 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001789/1.101, allocations: 0.7451 MB / 1.152 GB, free: 3.812 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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 Backend phase and start with SimCode phase: time 0.00118/1.102, allocations: 0.5562 MB / 1.152 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001861/1.104, allocations: 1.159 MB / 1.154 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/1.104, allocations: 4 kB / 1.154 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/1.104, allocations: 366.1 kB / 1.154 GB, free: 1.734 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/1.107, allocations: 0.5059 MB / 1.154 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/1.11, allocations: 2.279 MB / 1.157 GB, free: 14.88 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/1.11, allocations: 1.093 MB / 1.158 GB, free: 13.76 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001322/1.112, allocations: 416.8 kB / 1.158 GB, free: 13.35 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/1.112, allocations: 75.44 kB / 1.158 GB, free: 13.28 MB / 0.92 GB Notification: Performance of SimCode: time 6.21e-07/1.112, allocations: 0 / 1.158 GB, free: 13.28 MB / 0.92 GB Notification: Performance of Templates: time 0.03461/1.147, allocations: 21.39 MB / 1.179 GB, free: 8.113 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches