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.001109/0.00111, allocations: 109.2 kB / 16.37 MB, free: 6 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.001146/0.001146, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.17 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.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.56 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3419, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 1.086/1.428, allocations: 187.9 MB / 1.135 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01798/1.446, allocations: 10.76 MB / 1.145 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/1.449, allocations: 39.34 kB / 1.145 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/1.45, allocations: 498.4 kB / 1.146 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008593/1.459, allocations: 2.58 MB / 1.148 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007863/1.467, allocations: 2.457 MB / 1.151 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00512/1.472, allocations: 2.763 MB / 1.153 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/1.474, allocations: 0.774 MB / 1.154 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/1.476, allocations: 1.004 MB / 1.155 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/1.478, allocations: 1.061 MB / 1.156 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/1.479, allocations: 97.59 kB / 1.156 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008667/1.487, allocations: 3.001 MB / 1.159 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/1.489, allocations: 440.7 kB / 1.159 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001526/1.49, allocations: 0.58 MB / 1.16 GB, free: 488 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/1.501, allocations: 2.955 MB / 1.163 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.501, allocations: 0 / 1.163 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.043e-06/1.501, allocations: 0 / 1.163 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.644e-05/1.501, allocations: 0 / 1.163 GB, free: 15.66 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.005223/1.506, allocations: 1.676 MB / 1.165 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.506, allocations: 13.28 kB / 1.165 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/1.509, allocations: 290.8 kB / 1.165 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/1.511, allocations: 0.8331 MB / 1.166 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/1.511, allocations: 52.52 kB / 1.166 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/1.511, allocations: 65.53 kB / 1.166 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/1.513, allocations: 0.9958 MB / 1.167 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.513, allocations: 0 / 1.167 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/1.513, allocations: 27.16 kB / 1.167 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/1.513, allocations: 72.39 kB / 1.167 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/1.515, allocations: 1.01 MB / 1.168 GB, free: 13.24 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.007337/1.523, allocations: 3.576 MB / 1.171 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/1.524, allocations: 0.6575 MB / 1.172 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/1.524, allocations: 392.5 kB / 1.172 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/1.525, allocations: 202.3 kB / 1.172 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/1.525, allocations: 37.88 kB / 1.173 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=62): time 3.436e-06/1.525, allocations: 0 / 1.173 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62): time 0.002291/1.527, allocations: 1.028 MB / 1.174 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/1.527, allocations: 109.8 kB / 1.174 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.528, allocations: 0.8045 MB / 1.174 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/1.529, allocations: 35.98 kB / 1.174 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/1.529, allocations: 425.3 kB / 1.175 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/1.529, allocations: 218.1 kB / 1.175 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/1.529, allocations: 145.5 kB / 1.175 GB, free: 8.508 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.53, allocations: 333.5 kB / 1.176 GB, free: 8.184 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/1.53, allocations: 350.8 kB / 1.176 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/1.531, allocations: 463.9 kB / 1.176 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.532, allocations: 0.768 MB / 1.177 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/1.532, allocations: 2.156 kB / 1.177 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001602/1.534, allocations: 0.931 MB / 1.178 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.534, allocations: 8.844 kB / 1.178 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.534, allocations: 2.375 kB / 1.178 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.534, allocations: 6.125 kB / 1.178 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/1.534, allocations: 155.5 kB / 1.178 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.534, allocations: 3.188 kB / 1.178 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/1.535, allocations: 79.19 kB / 1.178 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/1.535, allocations: 28.22 kB / 1.178 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008955/1.536, allocations: 0.5354 MB / 1.179 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006259/1.537, allocations: 459 kB / 1.179 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001046/1.538, allocations: 0.7315 MB / 1.18 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.065e-06/1.538, allocations: 0 / 1.18 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001541/1.54, allocations: 0.8921 MB / 1.181 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.54, allocations: 5.5 kB / 1.181 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.54, allocations: 2.625 kB / 1.181 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/1.54, allocations: 9.281 kB / 1.181 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/1.54, allocations: 154.1 kB / 1.181 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/1.54, allocations: 4.312 kB / 1.181 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/1.541, allocations: 59.94 kB / 1.181 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/1.541, allocations: 32.95 kB / 1.181 GB, free: 5.031 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.0002952/1.542, allocations: 222.5 kB / 1.181 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/1.542, allocations: 96.38 kB / 1.181 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/1.543, allocations: 0.8052 MB / 1.182 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.543, allocations: 4.312 kB / 1.182 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.543, allocations: 0 / 1.182 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001/1.544, allocations: 0.7428 MB / 1.183 GB, free: 3.844 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/1.548, allocations: 2.104 MB / 1.185 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.548, allocations: 5.375 kB / 1.185 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/1.549, allocations: 133.1 kB / 1.185 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/1.549, allocations: 8.562 kB / 1.185 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.713e-05/1.549, allocations: 20.42 kB / 1.185 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.371e-05/1.549, allocations: 9.219 kB / 1.185 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.549, allocations: 3.844 kB / 1.185 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/1.551, allocations: 1.356 MB / 1.186 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006605/1.551, allocations: 254.5 kB / 1.187 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/1.552, allocations: 19.92 kB / 1.187 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/1.552, allocations: 26.78 kB / 1.187 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.552, allocations: 47.48 kB / 1.187 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/1.552, allocations: 22.12 kB / 1.187 GB, free: 1.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008608/1.553, allocations: 0.5566 MB / 1.187 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.553, allocations: 1.969 kB / 1.187 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002445/1.556, allocations: 0.7524 MB / 1.188 GB, free: 0.7383 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.001548/1.557, allocations: 0.5407 MB / 1.189 GB, free: 480 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002227/1.559, allocations: 1.184 MB / 1.19 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/1.56, allocations: 0 / 1.19 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005853/1.56, allocations: 371.4 kB / 1.19 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/1.562, allocations: 0.5369 MB / 1.191 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003276/1.566, allocations: 1.904 MB / 1.192 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/1.567, allocations: 1.081 MB / 1.194 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001614/1.568, allocations: 413.4 kB / 1.194 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/1.568, allocations: 76.45 kB / 1.194 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of SimCode: time 1.012e-06/1.568, allocations: 4 kB / 1.194 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of Templates: time 0.04198/1.61, allocations: 22.81 MB / 1.216 GB, free: 13.28 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 cvode -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