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.001534/0.001535, allocations: 105 kB / 16.37 MB, free: 6.426 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.001927/0.001927, allocations: 197.3 kB / 17.31 MB, free: 5.801 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.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.207/2.207, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.67 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2676, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.7159/0.9836, allocations: 187.9 MB / 1.135 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.9979, allocations: 10.76 MB / 1.145 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.9995, allocations: 40.38 kB / 1.145 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/1.001, allocations: 485.5 kB / 1.146 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00615/1.007, allocations: 2.587 MB / 1.148 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005813/1.013, allocations: 2.458 MB / 1.151 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003845/1.017, allocations: 2.764 MB / 1.153 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/1.018, allocations: 0.7778 MB / 1.154 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/1.019, allocations: 1.006 MB / 1.155 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/1.021, allocations: 1.055 MB / 1.156 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/1.021, allocations: 97.41 kB / 1.156 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005878/1.027, allocations: 3.008 MB / 1.159 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000613/1.028, allocations: 444.7 kB / 1.159 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007666/1.029, allocations: 0.5766 MB / 1.16 GB, free: 492 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005768/1.035, allocations: 2.951 MB / 1.163 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.035, allocations: 1.125 kB / 1.163 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.593e-06/1.035, allocations: 0 / 1.163 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.354e-05/1.035, allocations: 0 / 1.163 GB, free: 15.67 MB / 0.8731 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.00374/1.038, allocations: 1.674 MB / 1.165 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.038, allocations: 10.03 kB / 1.165 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/1.04, allocations: 293.9 kB / 1.165 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/1.042, allocations: 0.8253 MB / 1.166 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/1.042, allocations: 59.3 kB / 1.166 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.042, allocations: 70.14 kB / 1.166 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/1.044, allocations: 0.9917 MB / 1.167 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.044, allocations: 1.5 kB / 1.167 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/1.044, allocations: 25.28 kB / 1.167 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-05/1.044, allocations: 72.27 kB / 1.167 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/1.045, allocations: 1.011 MB / 1.168 GB, free: 13.25 MB / 0.8731 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.005804/1.051, allocations: 3.572 MB / 1.171 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/1.052, allocations: 0.6702 MB / 1.172 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/1.053, allocations: 382.6 kB / 1.172 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/1.053, allocations: 200.5 kB / 1.172 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.053, allocations: 37.88 kB / 1.173 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=62): time 2.285e-06/1.053, allocations: 1.375 kB / 1.173 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62): time 0.001818/1.055, allocations: 1.021 MB / 1.174 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/1.055, allocations: 112.2 kB / 1.174 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008666/1.056, allocations: 0.8114 MB / 1.174 GB, free: 9.168 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/1.056, allocations: 36.89 kB / 1.174 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/1.056, allocations: 425.9 kB / 1.175 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/1.057, allocations: 222.8 kB / 1.175 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/1.057, allocations: 142 kB / 1.175 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.057, allocations: 334.4 kB / 1.176 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/1.057, allocations: 339.3 kB / 1.176 GB, free: 7.988 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/1.058, allocations: 470.6 kB / 1.176 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/1.059, allocations: 0.765 MB / 1.177 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.059, allocations: 0 / 1.177 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001318/1.06, allocations: 0.9386 MB / 1.178 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.06, allocations: 6.312 kB / 1.178 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.06, allocations: 2.125 kB / 1.178 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.06, allocations: 5.281 kB / 1.178 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/1.061, allocations: 153.3 kB / 1.178 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.061, allocations: 8 kB / 1.178 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/1.062, allocations: 75.89 kB / 1.178 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/1.062, allocations: 31.7 kB / 1.178 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007069/1.063, allocations: 0.538 MB / 1.179 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005364/1.063, allocations: 452.9 kB / 1.179 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009447/1.064, allocations: 0.7384 MB / 1.18 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/1.064, allocations: 0 / 1.18 GB, free: 5.562 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001243/1.065, allocations: 0.8876 MB / 1.181 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/1.065, allocations: 6.625 kB / 1.181 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/1.065, allocations: 6.094 kB / 1.181 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/1.065, allocations: 5.281 kB / 1.181 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/1.066, allocations: 149.2 kB / 1.181 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/1.066, allocations: 4.406 kB / 1.181 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006988/1.067, allocations: 68.52 kB / 1.181 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/1.067, allocations: 26.75 kB / 1.181 GB, free: 5.02 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002166/1.067, allocations: 222.2 kB / 1.181 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/1.067, allocations: 100.4 kB / 1.181 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/1.068, allocations: 0.8017 MB / 1.182 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.068, allocations: 11.94 kB / 1.182 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.068, allocations: 0 / 1.182 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009205/1.069, allocations: 0.7439 MB / 1.183 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/1.072, allocations: 2.098 MB / 1.185 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.072, allocations: 4.312 kB / 1.185 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/1.073, allocations: 136.6 kB / 1.185 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.073, allocations: 5.031 kB / 1.185 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/1.073, allocations: 16.31 kB / 1.185 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/1.073, allocations: 8.859 kB / 1.185 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.073, allocations: 7.562 kB / 1.185 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/1.075, allocations: 1.351 MB / 1.186 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/1.075, allocations: 258.3 kB / 1.187 GB, free: 1.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/1.075, allocations: 15.28 kB / 1.187 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/1.076, allocations: 27.23 kB / 1.187 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/1.076, allocations: 53.81 kB / 1.187 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/1.076, allocations: 19.84 kB / 1.187 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006942/1.077, allocations: 0.5581 MB / 1.187 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/1.077, allocations: 0 / 1.187 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002028/1.079, allocations: 0.7484 MB / 1.188 GB, free: 0.7266 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001996/1.081, allocations: 0.5443 MB / 1.189 GB, free: 464 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002177/1.083, allocations: 1.189 MB / 1.19 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.083, allocations: 0 / 1.19 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005529/1.083, allocations: 369.5 kB / 1.19 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/1.086, allocations: 0.544 MB / 1.191 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/1.089, allocations: 1.897 MB / 1.192 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/1.09, allocations: 1.073 MB / 1.194 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001149/1.091, allocations: 423.1 kB / 1.194 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/1.091, allocations: 76.89 kB / 1.194 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of SimCode: time 5.11e-07/1.091, allocations: 0 / 1.194 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of Templates: time 0.03542/1.126, allocations: 22.81 MB / 1.216 GB, free: 13.26 MB / 0.9044 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches