Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001158/0.001158, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6642 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6457/0.6469, allocations: 140.4 MB / 0.9489 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1816/0.8286, allocations: 168.5 MB / 1.114 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006316/0.8349, allocations: 3.431 MB / 1.117 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008845/0.8358, allocations: 19.88 kB / 1.117 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.8371, allocations: 270.6 kB / 1.117 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.8396, allocations: 0.9571 MB / 1.118 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.8413, allocations: 0.603 MB / 1.119 GB, free: 3.73 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.8436, allocations: 2.102 MB / 1.121 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006538/0.8443, allocations: 416.9 kB / 1.121 GB, free: 1.207 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.8453, allocations: 489.9 kB / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.8465, allocations: 486.2 kB / 1.122 GB, free: 260 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.132e-05/0.8466, allocations: 24 kB / 1.122 GB, free: 236 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.8486, allocations: 0.9507 MB / 1.123 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.8489, allocations: 215.3 kB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.8493, allocations: 306.6 kB / 1.123 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.8507, allocations: 1.161 MB / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.8507, allocations: 0 / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8507, allocations: 0 / 1.125 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.8507, allocations: 0 / 1.125 GB, free: 13.6 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001676/0.8524, allocations: 0.9115 MB / 1.126 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.8525, allocations: 12.03 kB / 1.126 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.8538, allocations: 171.2 kB / 1.126 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/0.8545, allocations: 0.5013 MB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.8546, allocations: 33 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.8547, allocations: 44 kB / 1.126 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.8555, allocations: 474.3 kB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.8555, allocations: 0 / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.417e-05/0.8556, allocations: 23.94 kB / 1.127 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.8556, allocations: 17 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.8563, allocations: 411.7 kB / 1.127 GB, free: 10.93 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.002673/0.8589, allocations: 1.739 MB / 1.129 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.8594, allocations: 302.6 kB / 1.129 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.8597, allocations: 180.8 kB / 1.129 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.8599, allocations: 97.09 kB / 1.129 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.86, allocations: 42.5 kB / 1.129 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.654e-06/0.86, allocations: 0 / 1.129 GB, free: 8.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.002031/0.862, allocations: 1.058 MB / 1.13 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.8621, allocations: 55.41 kB / 1.131 GB, free: 7.234 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.8625, allocations: 453.9 kB / 1.131 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.8626, allocations: 37.7 kB / 1.131 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.8628, allocations: 248.1 kB / 1.131 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.8629, allocations: 114.3 kB / 1.131 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.863, allocations: 65.7 kB / 1.131 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8632, allocations: 358.8 kB / 1.132 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.8634, allocations: 127.9 kB / 1.132 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.8636, allocations: 193.7 kB / 1.132 GB, free: 5.617 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.8656, allocations: 0.8702 MB / 1.133 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8656, allocations: 0 / 1.133 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006097/0.8662, allocations: 416.5 kB / 1.133 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8663, allocations: 8.188 kB / 1.133 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8663, allocations: 4 kB / 1.133 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.8663, allocations: 4 kB / 1.133 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.8666, allocations: 71.91 kB / 1.133 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.8666, allocations: 7.938 kB / 1.133 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.8671, allocations: 35.81 kB / 1.133 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.8671, allocations: 16 kB / 1.133 GB, free: 4.148 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0002441/0.8674, allocations: 206.7 kB / 1.134 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.274e-05/0.8675, allocations: 55.38 kB / 1.134 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.8676, allocations: 60.75 kB / 1.134 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8676, allocations: 4 kB / 1.134 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8676, allocations: 4 kB / 1.134 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000479/0.8681, allocations: 408.5 kB / 1.134 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.8699, allocations: 1.258 MB / 1.135 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.8699, allocations: 4 kB / 1.135 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.8702, allocations: 71.84 kB / 1.135 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.8703, allocations: 4 kB / 1.135 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.8703, allocations: 12.5 kB / 1.135 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.8703, allocations: 19.92 kB / 1.135 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8703, allocations: 4 kB / 1.135 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/0.8712, allocations: 0.6955 MB / 1.136 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.8715, allocations: 168.5 kB / 1.136 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/0.8715, allocations: 11.98 kB / 1.136 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.872, allocations: 33.23 kB / 1.136 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.8721, allocations: 35.91 kB / 1.136 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.8721, allocations: 16 kB / 1.136 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003726/0.8725, allocations: 335.1 kB / 1.137 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8725, allocations: 0 / 1.137 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005666/0.8731, allocations: 140 kB / 1.137 GB, free: 412 kB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (33): * Single equations (assignments): 33 * 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.0004409/0.8735, allocations: 171.2 kB / 1.137 GB, free: 240 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005957/0.8741, allocations: 319.5 kB / 1.137 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.8741, allocations: 4 kB / 1.137 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.8744, allocations: 154.4 kB / 1.137 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.8762, allocations: 355.1 kB / 1.138 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.8781, allocations: 1.31 MB / 1.139 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.8786, allocations: 0.8862 MB / 1.14 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005692/0.8791, allocations: 136.6 kB / 1.14 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.8793, allocations: 43.44 kB / 1.14 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/0.8793, allocations: 0 / 1.14 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.01936/0.8986, allocations: 10.59 MB / 1.15 GB, free: 2.535 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches