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.001506/0.001506, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001813/0.001813, allocations: 194 kB / 16.25 MB, free: 6.629 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.343/2.343, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7482/0.7496, allocations: 140.3 MB / 0.9491 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1985/0.9482, allocations: 168.5 MB / 1.114 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005753/0.954, allocations: 3.366 MB / 1.117 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006657/0.9547, allocations: 19.88 kB / 1.117 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0009656/0.9557, allocations: 278.5 kB / 1.117 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.9582, allocations: 0.9493 MB / 1.118 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.9598, allocations: 0.6207 MB / 1.119 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.9617, allocations: 1.521 MB / 1.12 GB, free: 2.219 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006362/0.9623, allocations: 465.5 kB / 1.121 GB, free: 1.766 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009078/0.9632, allocations: 0.5603 MB / 1.121 GB, free: 1.203 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.9643, allocations: 0.4905 MB / 1.122 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.9645, allocations: 52 kB / 1.122 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.9659, allocations: 0.8728 MB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.9662, allocations: 235.4 kB / 1.123 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.9666, allocations: 342.5 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.968, allocations: 1.184 MB / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.968, allocations: 0 / 1.124 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.222e-06/0.968, allocations: 4 kB / 1.124 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.968, allocations: 0 / 1.124 GB, free: 14.03 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.00145/0.9695, allocations: 0.9115 MB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.9695, allocations: 8.031 kB / 1.125 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.9708, allocations: 171.2 kB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007341/0.9715, allocations: 0.5013 MB / 1.126 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.9716, allocations: 33 kB / 1.126 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.28e-05/0.9717, allocations: 40 kB / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.9725, allocations: 482.4 kB / 1.126 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.9725, allocations: 0 / 1.126 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.9725, allocations: 23.92 kB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.9726, allocations: 16.98 kB / 1.126 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.9732, allocations: 415.8 kB / 1.127 GB, free: 11.36 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.00247/0.9757, allocations: 1.736 MB / 1.129 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.9762, allocations: 302.5 kB / 1.129 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.9765, allocations: 179.2 kB / 1.129 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.9767, allocations: 101.1 kB / 1.129 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.9767, allocations: 42.5 kB / 1.129 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.9767, allocations: 0 / 1.129 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.001989/0.9787, allocations: 1.051 MB / 1.13 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.9787, allocations: 55.41 kB / 1.13 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.9792, allocations: 457.9 kB / 1.131 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.9793, allocations: 33.69 kB / 1.131 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.9795, allocations: 252.1 kB / 1.131 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.9796, allocations: 118.3 kB / 1.131 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.9798, allocations: 65.7 kB / 1.131 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.9799, allocations: 354.8 kB / 1.131 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.9801, allocations: 135.9 kB / 1.132 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.9804, allocations: 201.6 kB / 1.132 GB, free: 6.031 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.002113/0.9825, allocations: 0.8602 MB / 1.133 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.9825, allocations: 4 kB / 1.133 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007094/0.9832, allocations: 420.4 kB / 1.133 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.9833, allocations: 4 kB / 1.133 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9833, allocations: 3.984 kB / 1.133 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9833, allocations: 4 kB / 1.133 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.9836, allocations: 71.91 kB / 1.133 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.9837, allocations: 8.188 kB / 1.133 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.9841, allocations: 35.83 kB / 1.133 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.9841, allocations: 8 kB / 1.133 GB, free: 4.578 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.0002519/0.9844, allocations: 213.7 kB / 1.133 GB, free: 4.359 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.149e-05/0.9845, allocations: 55.38 kB / 1.133 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.9846, allocations: 60.77 kB / 1.133 GB, free: 4.242 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.9846, allocations: 7.984 kB / 1.133 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.9847, allocations: 3.938 kB / 1.133 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005015/0.9852, allocations: 408.5 kB / 1.134 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.9872, allocations: 1.243 MB / 1.135 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.9872, allocations: 4 kB / 1.135 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.9876, allocations: 79.84 kB / 1.135 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.9876, allocations: 4 kB / 1.135 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.9876, allocations: 15.98 kB / 1.135 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.9876, allocations: 4 kB / 1.135 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.9876, allocations: 7.938 kB / 1.135 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009697/0.9886, allocations: 0.6996 MB / 1.136 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.9889, allocations: 172.5 kB / 1.136 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.989, allocations: 15.94 kB / 1.136 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.9895, allocations: 31.98 kB / 1.136 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.9896, allocations: 31.84 kB / 1.136 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.9897, allocations: 27.98 kB / 1.136 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004728/0.9902, allocations: 331.1 kB / 1.136 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9902, allocations: 0 / 1.136 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008151/0.991, allocations: 136 kB / 1.137 GB, free: 0.8242 MB / 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.0005632/0.9916, allocations: 168.2 kB / 1.137 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0006617/0.9923, allocations: 347.7 kB / 1.137 GB, free: 328 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9923, allocations: 12 kB / 1.137 GB, free: 316 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.9925, allocations: 163.7 kB / 1.137 GB, free: 152 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.9942, allocations: 363.1 kB / 1.138 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.9962, allocations: 1.298 MB / 1.139 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.9967, allocations: 0.8822 MB / 1.14 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005276/0.9972, allocations: 128.6 kB / 1.14 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.9973, allocations: 47.38 kB / 1.14 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of SimCode: time 6.91e-07/0.9973, allocations: 0 / 1.14 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.01961/1.017, allocations: 11 MB / 1.151 GB, free: 2.531 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