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.00784/0.00784, allocations: 106.5 kB / 15.73 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.001614/0.001614, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.406/1.406, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.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.29/2.29, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.89 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.805, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2223/1.027, allocations: 170.8 MB / 1.255 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006264/1.034, allocations: 3.382 MB / 1.258 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009899/1.035, allocations: 27.81 kB / 1.258 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/1.036, allocations: 314.1 kB / 1.258 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002964/1.039, allocations: 1.015 MB / 1.259 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/1.041, allocations: 0.664 MB / 1.26 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001888/1.043, allocations: 1.528 MB / 1.261 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007097/1.043, allocations: 485.4 kB / 1.262 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/1.045, allocations: 0.5604 MB / 1.262 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/1.046, allocations: 470.2 kB / 1.263 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/1.046, allocations: 56 kB / 1.263 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/1.048, allocations: 0.8301 MB / 1.264 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000254/1.048, allocations: 239.4 kB / 1.264 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003501/1.048, allocations: 334.5 kB / 1.264 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/1.05, allocations: 1.139 MB / 1.265 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.05, allocations: 0 / 1.265 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/1.05, allocations: 0 / 1.265 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.05, allocations: 0 / 1.265 GB, free: 7.906 MB / 0.9981 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.001426/1.051, allocations: 0.9116 MB / 1.266 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.051, allocations: 12.03 kB / 1.266 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/1.052, allocations: 175.1 kB / 1.267 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008533/1.053, allocations: 0.5247 MB / 1.267 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/1.053, allocations: 33 kB / 1.267 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/1.053, allocations: 44 kB / 1.267 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007718/1.054, allocations: 474.4 kB / 1.268 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.054, allocations: 0 / 1.268 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/1.054, allocations: 20 kB / 1.268 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/1.054, allocations: 20.98 kB / 1.268 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/1.055, allocations: 419.7 kB / 1.268 GB, free: 5.195 MB / 0.9981 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.002731/1.058, allocations: 1.712 MB / 1.27 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/1.058, allocations: 299.1 kB / 1.27 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/1.059, allocations: 184.7 kB / 1.27 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001893/1.059, allocations: 105 kB / 1.27 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.059, allocations: 38.5 kB / 1.27 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/1.059, allocations: 4 kB / 1.27 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002162/1.061, allocations: 1.058 MB / 1.271 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/1.061, allocations: 55.41 kB / 1.271 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/1.062, allocations: 449.9 kB / 1.272 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/1.062, allocations: 41.64 kB / 1.272 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/1.062, allocations: 248.1 kB / 1.272 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/1.062, allocations: 114.3 kB / 1.272 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.062, allocations: 77.59 kB / 1.272 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.062, allocations: 362.7 kB / 1.273 GB, free: 220 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.062, allocations: 123.9 kB / 1.273 GB, free: 96 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/1.063, allocations: 193.9 kB / 1.273 GB, free: 15.88 MB / 1.014 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.002037/1.065, allocations: 0.8586 MB / 1.274 GB, free: 14.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.065, allocations: 3.938 kB / 1.274 GB, free: 14.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006962/1.065, allocations: 420.5 kB / 1.274 GB, free: 14.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.065, allocations: 4 kB / 1.274 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.065, allocations: 4 kB / 1.274 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.065, allocations: 7.984 kB / 1.274 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/1.066, allocations: 67.92 kB / 1.274 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/1.066, allocations: 7.984 kB / 1.274 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/1.066, allocations: 11.94 kB / 1.274 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/1.066, allocations: 12 kB / 1.274 GB, free: 14.45 MB / 1.014 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.0003131/1.067, allocations: 217.9 kB / 1.274 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.067, allocations: 51.38 kB / 1.275 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/1.067, allocations: 60.75 kB / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.067, allocations: 4 kB / 1.275 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.067, allocations: 0 / 1.275 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005167/1.067, allocations: 404.6 kB / 1.275 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/1.069, allocations: 1.251 MB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.069, allocations: 4 kB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/1.07, allocations: 71.91 kB / 1.276 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/1.07, allocations: 4 kB / 1.276 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.07, allocations: 15.94 kB / 1.276 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/1.07, allocations: 7.984 kB / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.07, allocations: 8.438 kB / 1.276 GB, free: 12.22 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/1.071, allocations: 0.7192 MB / 1.277 GB, free: 11.44 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/1.071, allocations: 164.5 kB / 1.277 GB, free: 11.26 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/1.071, allocations: 15.98 kB / 1.277 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/1.072, allocations: 16 kB / 1.277 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/1.072, allocations: 35.84 kB / 1.277 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/1.072, allocations: 15.98 kB / 1.277 GB, free: 11.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004421/1.072, allocations: 335.2 kB / 1.278 GB, free: 10.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.072, allocations: 0 / 1.278 GB, free: 10.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006132/1.073, allocations: 140 kB / 1.278 GB, free: 10.71 MB / 1.014 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.000466/1.073, allocations: 169.6 kB / 1.278 GB, free: 10.55 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000591/1.074, allocations: 324 kB / 1.278 GB, free: 10.23 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.074, allocations: 8 kB / 1.278 GB, free: 10.22 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003377/1.074, allocations: 161.9 kB / 1.278 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/1.076, allocations: 367 kB / 1.279 GB, free: 9.719 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/1.078, allocations: 1.118 MB / 1.28 GB, free: 8.523 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/1.079, allocations: 0.8822 MB / 1.281 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005627/1.08, allocations: 140.6 kB / 1.281 GB, free: 7.473 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/1.08, allocations: 39.44 kB / 1.281 GB, free: 7.434 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.08, allocations: 0 / 1.281 GB, free: 7.434 MB / 1.014 GB Notification: Performance of Templates: time 0.02147/1.101, allocations: 11.3 MB / 1.292 GB, free: 12.32 MB / 1.029 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