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.001376/0.001376, allocations: 108 kB / 16.41 MB, free: 6.027 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.001454/0.001454, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.16 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.306/2.306, allocations: 390.2 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.871/0.8724, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2142/1.087, allocations: 170.8 MB / 1.255 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005941/1.093, allocations: 3.38 MB / 1.259 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009179/1.094, allocations: 23.81 kB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/1.095, allocations: 318.1 kB / 1.259 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003088/1.098, allocations: 1.007 MB / 1.26 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/1.1, allocations: 0.6771 MB / 1.261 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002843/1.103, allocations: 1.525 MB / 1.262 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008528/1.104, allocations: 477.5 kB / 1.263 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/1.105, allocations: 0.5681 MB / 1.263 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/1.106, allocations: 470.2 kB / 1.264 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/1.106, allocations: 52 kB / 1.264 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/1.108, allocations: 0.8301 MB / 1.264 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000347/1.109, allocations: 247.4 kB / 1.265 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005449/1.109, allocations: 334.5 kB / 1.265 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/1.111, allocations: 1.135 MB / 1.266 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.111, allocations: 0 / 1.266 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/1.111, allocations: 0 / 1.266 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.624e-05/1.111, allocations: 0 / 1.266 GB, free: 7.848 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.001761/1.113, allocations: 0.9077 MB / 1.267 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/1.113, allocations: 11.97 kB / 1.267 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/1.114, allocations: 175.1 kB / 1.267 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000907/1.115, allocations: 0.5208 MB / 1.268 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/1.115, allocations: 33 kB / 1.268 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/1.116, allocations: 44 kB / 1.268 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008259/1.116, allocations: 478.3 kB / 1.268 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.116, allocations: 0 / 1.268 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/1.116, allocations: 23.94 kB / 1.268 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/1.116, allocations: 17 kB / 1.268 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/1.117, allocations: 411.7 kB / 1.269 GB, free: 5.148 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.002666/1.12, allocations: 1.724 MB / 1.27 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/1.12, allocations: 301.7 kB / 1.271 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/1.121, allocations: 180.7 kB / 1.271 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/1.121, allocations: 101 kB / 1.271 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/1.121, allocations: 42.5 kB / 1.271 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/1.121, allocations: 0 / 1.271 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002024/1.123, allocations: 1.058 MB / 1.272 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/1.123, allocations: 55.41 kB / 1.272 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/1.123, allocations: 449.9 kB / 1.272 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/1.123, allocations: 37.69 kB / 1.273 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/1.124, allocations: 244.1 kB / 1.273 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/1.124, allocations: 122.3 kB / 1.273 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/1.124, allocations: 73.61 kB / 1.273 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.124, allocations: 358.8 kB / 1.273 GB, free: 176 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/1.124, allocations: 127.9 kB / 1.273 GB, free: 48 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/1.125, allocations: 194 kB / 1.274 GB, free: 15.83 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.002644/1.127, allocations: 0.8585 MB / 1.274 GB, free: 14.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.127, allocations: 4 kB / 1.274 GB, free: 14.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001004/1.128, allocations: 420.5 kB / 1.275 GB, free: 14.51 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/1.128, allocations: 7.938 kB / 1.275 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.128, allocations: 4 kB / 1.275 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.128, allocations: 0 / 1.275 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/1.129, allocations: 75.91 kB / 1.275 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/1.129, allocations: 4 kB / 1.275 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006284/1.129, allocations: 11.94 kB / 1.275 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/1.13, allocations: 19.98 kB / 1.275 GB, free: 14.39 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.0004013/1.13, allocations: 205.9 kB / 1.275 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/1.13, allocations: 55.38 kB / 1.275 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/1.13, allocations: 60.77 kB / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.13, allocations: 0 / 1.275 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.13, allocations: 7.984 kB / 1.275 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007768/1.131, allocations: 404.5 kB / 1.276 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/1.134, allocations: 1.241 MB / 1.277 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/1.134, allocations: 4 kB / 1.277 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005231/1.135, allocations: 75.89 kB / 1.277 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/1.135, allocations: 11.94 kB / 1.277 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/1.135, allocations: 19.88 kB / 1.277 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.135, allocations: 4 kB / 1.277 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.135, allocations: 4.438 kB / 1.277 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/1.136, allocations: 0.7152 MB / 1.278 GB, free: 11.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/1.136, allocations: 176.5 kB / 1.278 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.136, allocations: 12 kB / 1.278 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/1.137, allocations: 15.98 kB / 1.278 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.892e-05/1.137, allocations: 31.84 kB / 1.278 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/1.137, allocations: 20 kB / 1.278 GB, free: 11.12 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005875/1.138, allocations: 335.1 kB / 1.278 GB, free: 10.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.21e-07/1.138, allocations: 0 / 1.278 GB, free: 10.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009286/1.139, allocations: 144 kB / 1.278 GB, free: 10.66 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.0005618/1.139, allocations: 167 kB / 1.279 GB, free: 10.5 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008659/1.14, allocations: 319.7 kB / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.14, allocations: 384 / 1.279 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003382/1.141, allocations: 163.7 kB / 1.279 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/1.143, allocations: 373.4 kB / 1.279 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/1.146, allocations: 1.167 MB / 1.28 GB, free: 8.418 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/1.147, allocations: 0.8822 MB / 1.281 GB, free: 7.508 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/1.147, allocations: 43.44 kB / 1.281 GB, free: 7.465 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/1.147, allocations: 0 / 1.281 GB, free: 7.465 MB / 1.014 GB Notification: Performance of Templates: time 0.01977/1.167, allocations: 8.664 MB / 1.29 GB, free: 14.89 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches