Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_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.001283/0.001283, allocations: 99.86 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.001579/0.001579, 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.333/1.333, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.56/2.56, allocations: 436.5 MB / 0.7104 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 8 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6058/0.6062, allocations: 153.7 MB / 1.021 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1498/0.756, allocations: 142.9 MB / 1.16 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00573/0.7618, allocations: 3.303 MB / 1.164 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007018/0.7626, allocations: 15.88 kB / 1.164 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009951/0.7636, allocations: 318.5 kB / 1.164 GB, free: 14.37 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.7663, allocations: 0.9115 MB / 1.165 GB, free: 13.46 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.7685, allocations: 0.7173 MB / 1.165 GB, free: 12.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.7699, allocations: 0.8766 MB / 1.166 GB, free: 11.87 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.7705, allocations: 359.4 kB / 1.167 GB, free: 11.51 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007374/0.7712, allocations: 438.5 kB / 1.167 GB, free: 11.08 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.7717, allocations: 290.9 kB / 1.167 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.7718, allocations: 24 kB / 1.167 GB, free: 10.77 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.7728, allocations: 391.4 kB / 1.168 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.7731, allocations: 187.5 kB / 1.168 GB, free: 10.21 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.7732, allocations: 145.4 kB / 1.168 GB, free: 10.06 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000769/0.774, allocations: 0.7443 MB / 1.169 GB, free: 9.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.774, allocations: 0 / 1.169 GB, free: 9.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.704e-06/0.774, allocations: 0 / 1.169 GB, free: 9.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.774, allocations: 0 / 1.169 GB, free: 9.312 MB / 0.92 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.001249/0.7753, allocations: 0.7793 MB / 1.17 GB, free: 8.484 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7753, allocations: 23.91 kB / 1.17 GB, free: 8.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.7765, allocations: 171.1 kB / 1.17 GB, free: 8.293 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007668/0.7773, allocations: 489.7 kB / 1.17 GB, free: 7.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.7773, allocations: 41 kB / 1.17 GB, free: 7.734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.7774, allocations: 44 kB / 1.17 GB, free: 7.691 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.7781, allocations: 466.4 kB / 1.171 GB, free: 7.23 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.7782, allocations: 0 / 1.171 GB, free: 7.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.7782, allocations: 24 kB / 1.171 GB, free: 7.207 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.7782, allocations: 13 kB / 1.171 GB, free: 7.195 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.7789, allocations: 411.7 kB / 1.171 GB, free: 6.793 MB / 0.92 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.002431/0.7813, allocations: 1.743 MB / 1.173 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.7818, allocations: 296.3 kB / 1.173 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.7818, allocations: 11.98 kB / 1.173 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.7819, allocations: 42.56 kB / 1.173 GB, free: 4.559 MB / 0.92 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.7819, allocations: 0 / 1.173 GB, free: 4.559 MB / 0.92 GB Notification: Performance of matching and sorting (n=33): time 0.001929/0.7838, allocations: 1.044 MB / 1.174 GB, free: 3.465 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.7839, allocations: 55.41 kB / 1.174 GB, free: 3.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.7844, allocations: 457.8 kB / 1.175 GB, free: 2.941 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.7844, allocations: 37.7 kB / 1.175 GB, free: 2.898 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.7846, allocations: 252.1 kB / 1.175 GB, free: 2.648 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/0.7847, allocations: 126.2 kB / 1.175 GB, free: 2.523 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.7848, allocations: 4 kB / 1.175 GB, free: 2.52 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7849, allocations: 354.8 kB / 1.175 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.7851, allocations: 127.9 kB / 1.176 GB, free: 2.039 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.7854, allocations: 197.6 kB / 1.176 GB, free: 1.824 MB / 0.92 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.0015/0.7869, allocations: 0.5513 MB / 1.176 GB, free: 1.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7869, allocations: 0 / 1.176 GB, free: 1.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006068/0.7875, allocations: 417.2 kB / 1.177 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7875, allocations: 4 kB / 1.177 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7875, allocations: 4 kB / 1.177 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7876, allocations: 7.938 kB / 1.177 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.7879, allocations: 71.91 kB / 1.177 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.7879, allocations: 0 / 1.177 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/0.7883, allocations: 36.09 kB / 1.177 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.7884, allocations: 15.95 kB / 1.177 GB, free: 0.7031 MB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.7886, allocations: 205.7 kB / 1.177 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.7887, allocations: 51.34 kB / 1.177 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.7888, allocations: 64.75 kB / 1.177 GB, free: 388 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.7888, allocations: 4 kB / 1.177 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.7889, allocations: 4 kB / 1.177 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000465/0.7893, allocations: 404.3 kB / 1.178 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.7911, allocations: 1.241 MB / 1.179 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7911, allocations: 4.5 kB / 1.179 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.7914, allocations: 75.91 kB / 1.179 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.7915, allocations: 8 kB / 1.179 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.7915, allocations: 8 kB / 1.179 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.7915, allocations: 11.94 kB / 1.179 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7915, allocations: 4 kB / 1.179 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008867/0.7924, allocations: 0.8835 MB / 1.18 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.7926, allocations: 172.5 kB / 1.18 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.7927, allocations: 15.98 kB / 1.18 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.7932, allocations: 35.77 kB / 1.18 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.7932, allocations: 39.86 kB / 1.18 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.7933, allocations: 23.94 kB / 1.18 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003331/0.7936, allocations: 331.1 kB / 1.18 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7936, allocations: 0 / 1.18 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005441/0.7942, allocations: 136 kB / 1.18 GB, free: 12.68 MB / 0.9356 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 (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.0003654/0.7946, allocations: 174.8 kB / 1.181 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00051/0.7951, allocations: 323.8 kB / 1.181 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7951, allocations: 0 / 1.181 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.7953, allocations: 161.1 kB / 1.181 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.7968, allocations: 338.1 kB / 1.181 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.7985, allocations: 1.332 MB / 1.183 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.799, allocations: 0.8939 MB / 1.184 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004651/0.7994, allocations: 132.6 kB / 1.184 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.7995, allocations: 43.44 kB / 1.184 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.7996, allocations: 0 / 1.184 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of Templates: time 0.01613/0.8157, allocations: 10.19 MB / 1.194 GB, free: 15.17 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches