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.001175/0.001176, allocations: 101.9 kB / 15.99 MB, free: 6.367 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.001161/0.001162, allocations: 198.8 kB / 16.91 MB, free: 6.195 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.269/2.269, allocations: 390.2 MB / 0.665 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 65.53 kB / 0.8127 GB, free: 33.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2839, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.7285/1.012, allocations: 168.5 MB / 1.114 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005993/1.018, allocations: 3.354 MB / 1.118 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/1.02, allocations: 20.94 kB / 1.118 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/1.021, allocations: 277.6 kB / 1.118 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002975/1.024, allocations: 0.9572 MB / 1.119 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/1.025, allocations: 0.6091 MB / 1.119 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002171/1.028, allocations: 1.522 MB / 1.121 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007099/1.028, allocations: 478.8 kB / 1.121 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/1.029, allocations: 0.5593 MB / 1.122 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/1.031, allocations: 0.4925 MB / 1.122 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/1.031, allocations: 58.12 kB / 1.122 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002161/1.033, allocations: 0.8684 MB / 1.123 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/1.033, allocations: 240.6 kB / 1.124 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004482/1.034, allocations: 340.9 kB / 1.124 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/1.035, allocations: 0.8529 MB / 1.125 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.035, allocations: 0 / 1.125 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.863e-06/1.035, allocations: 1.094 kB / 1.125 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.035, allocations: 1.469 kB / 1.125 GB, free: 5.684 MB / 0.8575 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.001794/1.037, allocations: 0.9108 MB / 1.126 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/1.037, allocations: 9.594 kB / 1.126 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/1.038, allocations: 168.7 kB / 1.126 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/1.039, allocations: 0.5004 MB / 1.126 GB, free: 20.83 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/1.039, allocations: 36.33 kB / 1.126 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.896e-05/1.039, allocations: 42.88 kB / 1.126 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009246/1.04, allocations: 479.6 kB / 1.127 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.04, allocations: 0 / 1.127 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/1.04, allocations: 19.97 kB / 1.127 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/1.041, allocations: 14.94 kB / 1.127 GB, free: 20.78 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/1.041, allocations: 418.7 kB / 1.127 GB, free: 20.77 MB / 0.8731 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.00261/1.044, allocations: 1.728 MB / 1.129 GB, free: 20 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/1.044, allocations: 298.1 kB / 1.129 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/1.045, allocations: 186.1 kB / 1.129 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/1.045, allocations: 104.4 kB / 1.129 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/1.045, allocations: 42 kB / 1.129 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/1.045, allocations: 0 / 1.129 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002038/1.047, allocations: 1.054 MB / 1.131 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.047, allocations: 60.16 kB / 1.131 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/1.048, allocations: 458.2 kB / 1.131 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/1.048, allocations: 31.7 kB / 1.131 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/1.048, allocations: 251 kB / 1.131 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/1.048, allocations: 117.8 kB / 1.131 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/1.048, allocations: 71.28 kB / 1.131 GB, free: 19.03 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.048, allocations: 358.6 kB / 1.132 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/1.049, allocations: 125.1 kB / 1.132 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/1.049, allocations: 199.4 kB / 1.132 GB, free: 18.65 MB / 0.8731 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.002032/1.051, allocations: 0.8631 MB / 1.133 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.051, allocations: 1.062 kB / 1.133 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006567/1.052, allocations: 414.6 kB / 1.133 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.052, allocations: 5.531 kB / 1.133 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/1.052, allocations: 5.688 kB / 1.133 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.052, allocations: 10.81 kB / 1.133 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/1.052, allocations: 69.67 kB / 1.133 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/1.052, allocations: 3.625 kB / 1.133 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/1.053, allocations: 35.45 kB / 1.133 GB, free: 18.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/1.053, allocations: 17.78 kB / 1.133 GB, free: 18.39 MB / 0.8731 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.0003121/1.053, allocations: 207.7 kB / 1.134 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/1.053, allocations: 53.64 kB / 1.134 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/1.053, allocations: 60.41 kB / 1.134 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/1.053, allocations: 3.5 kB / 1.134 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.053, allocations: 0 / 1.134 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000471/1.054, allocations: 407.4 kB / 1.134 GB, free: 18.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/1.055, allocations: 1.244 MB / 1.135 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.055, allocations: 8.719 kB / 1.135 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/1.056, allocations: 71.06 kB / 1.135 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/1.056, allocations: 6.719 kB / 1.135 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.056, allocations: 16.97 kB / 1.135 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/1.056, allocations: 8.469 kB / 1.135 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.056, allocations: 8.75 kB / 1.136 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008531/1.057, allocations: 0.7001 MB / 1.136 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/1.057, allocations: 168.8 kB / 1.136 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/1.057, allocations: 9.969 kB / 1.136 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/1.057, allocations: 35.53 kB / 1.136 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/1.058, allocations: 35.08 kB / 1.136 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.058, allocations: 22.2 kB / 1.136 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003911/1.058, allocations: 330 kB / 1.137 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/1.058, allocations: 1.094 kB / 1.137 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006327/1.059, allocations: 142.8 kB / 1.137 GB, free: 17.11 MB / 0.8731 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.0004305/1.059, allocations: 174.4 kB / 1.137 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006055/1.06, allocations: 350.1 kB / 1.137 GB, free: 17 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.06, allocations: 1.094 kB / 1.137 GB, free: 17 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/1.06, allocations: 162.7 kB / 1.138 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/1.062, allocations: 367.1 kB / 1.138 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/1.063, allocations: 1.344 MB / 1.139 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/1.064, allocations: 0.8844 MB / 1.14 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/1.064, allocations: 43.78 kB / 1.14 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/1.064, allocations: 1 kB / 1.14 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.0148/1.079, allocations: 8.617 MB / 1.149 GB, free: 14.7 MB / 0.8731 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