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.001715/0.001716, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.84 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1909/0.5142, allocations: 168.5 MB / 1.217 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005817/0.5201, allocations: 3.427 MB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008953/0.521, allocations: 19.88 kB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.5222, allocations: 270.6 kB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.5251, allocations: 0.9532 MB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.5271, allocations: 0.6059 MB / 1.222 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002661/0.5298, allocations: 2.114 MB / 1.225 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008258/0.5306, allocations: 401.1 kB / 1.225 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.5318, allocations: 489.8 kB / 1.225 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.5333, allocations: 0.4897 MB / 1.226 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.5335, allocations: 24 kB / 1.226 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.5355, allocations: 0.9429 MB / 1.227 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.5359, allocations: 215.4 kB / 1.227 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.5365, allocations: 298.5 kB / 1.227 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.5378, allocations: 0.8458 MB / 1.228 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5378, allocations: 3.938 kB / 1.228 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5378, allocations: 4 kB / 1.228 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.741e-05/0.5378, allocations: 4 kB / 1.228 GB, free: 4.039 MB / 0.9825 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.001864/0.5397, allocations: 0.9115 MB / 1.229 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5397, allocations: 8.031 kB / 1.229 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.5411, allocations: 179.1 kB / 1.229 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008818/0.542, allocations: 0.4936 MB / 1.23 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.329e-05/0.542, allocations: 29 kB / 1.23 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.5421, allocations: 51.89 kB / 1.23 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009336/0.5431, allocations: 478.4 kB / 1.23 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.5431, allocations: 0 / 1.23 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.875e-05/0.5432, allocations: 20 kB / 1.23 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.299e-05/0.5432, allocations: 17 kB / 1.23 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007571/0.544, allocations: 411.7 kB / 1.231 GB, free: 1.363 MB / 0.9825 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.003138/0.5471, allocations: 1.732 MB / 1.232 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.5476, allocations: 294.7 kB / 1.233 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.5479, allocations: 182.2 kB / 1.233 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.5481, allocations: 105.1 kB / 1.233 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.5482, allocations: 42.5 kB / 1.233 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.743e-06/0.5482, allocations: 0 / 1.233 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.002243/0.5504, allocations: 1.059 MB / 1.234 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.5505, allocations: 51.41 kB / 1.234 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/0.551, allocations: 453.9 kB / 1.234 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.5511, allocations: 33.7 kB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.5513, allocations: 256.1 kB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.5514, allocations: 118.3 kB / 1.235 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.5516, allocations: 73.59 kB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5517, allocations: 358.7 kB / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.5519, allocations: 131.9 kB / 1.235 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.5522, allocations: 197.9 kB / 1.236 GB, free: 12.03 MB / 0.9981 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.001996/0.5542, allocations: 0.8563 MB / 1.236 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5542, allocations: 0 / 1.236 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006702/0.5549, allocations: 416.6 kB / 1.237 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5549, allocations: 5.719 kB / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.5549, allocations: 4 kB / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.555, allocations: 4 kB / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.5553, allocations: 63.91 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.5553, allocations: 4 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.5558, allocations: 36.16 kB / 1.237 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.5558, allocations: 12 kB / 1.237 GB, free: 10.59 MB / 0.9981 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.0002936/0.5561, allocations: 209.7 kB / 1.237 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.5563, allocations: 51.38 kB / 1.237 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.5564, allocations: 68.75 kB / 1.237 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.5564, allocations: 4 kB / 1.237 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5564, allocations: 0 / 1.237 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005082/0.5569, allocations: 408.5 kB / 1.238 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.5589, allocations: 1.249 MB / 1.239 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5589, allocations: 4 kB / 1.239 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.5593, allocations: 79.84 kB / 1.239 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/0.5593, allocations: 4 kB / 1.239 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.5593, allocations: 12 kB / 1.239 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.5593, allocations: 4 kB / 1.239 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5594, allocations: 4 kB / 1.239 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009165/0.5603, allocations: 0.711 MB / 1.24 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.5605, allocations: 168.5 kB / 1.24 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/0.5606, allocations: 12 kB / 1.24 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.5611, allocations: 36.69 kB / 1.24 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.5612, allocations: 27.86 kB / 1.24 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/0.5612, allocations: 27.98 kB / 1.24 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003992/0.5616, allocations: 331.1 kB / 1.24 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5617, allocations: 3.938 kB / 1.24 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006058/0.5623, allocations: 148 kB / 1.24 GB, free: 6.832 MB / 0.9981 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.0004531/0.5627, allocations: 174.4 kB / 1.241 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005765/0.5633, allocations: 307.7 kB / 1.241 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.5633, allocations: 4.375 kB / 1.241 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.5636, allocations: 165.5 kB / 1.241 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.5653, allocations: 353.1 kB / 1.241 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.5674, allocations: 1.347 MB / 1.243 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.568, allocations: 0.8822 MB / 1.244 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.5681, allocations: 43.44 kB / 1.244 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of SimCode: time 6.22e-07/0.5681, allocations: 0 / 1.244 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.5221/1.09, allocations: 8.601 MB / 1.252 GB, free: 192.7 MB / 0.9981 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches