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.001051/0.001051, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008799/0.008799, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 443.3 MB / 0.7175 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004033/0.0004034, allocations: 11.66 kB / 0.8796 GB, free: 42.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3502, allocations: 155.2 MB / 1.031 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1976/0.5479, allocations: 166.4 MB / 1.194 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006749/0.5547, allocations: 3.384 MB / 1.197 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.5558, allocations: 15.88 kB / 1.197 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.557, allocations: 270.6 kB / 1.197 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.5599, allocations: 0.9571 MB / 1.198 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.5617, allocations: 0.5907 MB / 1.199 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002636/0.5644, allocations: 2.116 MB / 1.201 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006669/0.5651, allocations: 388.6 kB / 1.201 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009109/0.566, allocations: 489.8 kB / 1.202 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.5671, allocations: 470.1 kB / 1.202 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.5672, allocations: 20 kB / 1.202 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.569, allocations: 0.9507 MB / 1.203 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.5692, allocations: 199.4 kB / 1.203 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.5696, allocations: 324.2 kB / 1.203 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.5711, allocations: 1.141 MB / 1.205 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.5711, allocations: 4 kB / 1.205 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5711, allocations: 0 / 1.205 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.5711, allocations: 0 / 1.205 GB, free: 2.266 MB / 0.9512 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.001377/0.5725, allocations: 0.787 MB / 1.205 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5725, allocations: 12.03 kB / 1.205 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.5738, allocations: 179.1 kB / 1.206 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007595/0.5745, allocations: 0.5051 MB / 1.206 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.5746, allocations: 33 kB / 1.206 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-05/0.5747, allocations: 40 kB / 1.206 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.5755, allocations: 474.4 kB / 1.207 GB, free: 156 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5755, allocations: 4 kB / 1.207 GB, free: 152 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.5755, allocations: 20 kB / 1.207 GB, free: 132 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.754e-05/0.5756, allocations: 20.92 kB / 1.207 GB, free: 112 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.5762, allocations: 415.7 kB / 1.207 GB, free: 15.7 MB / 0.9669 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.002622/0.5789, allocations: 1.732 MB / 1.209 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.5794, allocations: 302.5 kB / 1.209 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.5796, allocations: 180.8 kB / 1.209 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.5798, allocations: 101 kB / 1.209 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.5799, allocations: 42.56 kB / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.5799, allocations: 0 / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002003/0.5819, allocations: 1.051 MB / 1.21 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.5819, allocations: 59.39 kB / 1.21 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.5824, allocations: 453.8 kB / 1.211 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.5825, allocations: 33.7 kB / 1.211 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.5827, allocations: 264 kB / 1.211 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.5828, allocations: 110.4 kB / 1.211 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.5829, allocations: 33.7 kB / 1.211 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.583, allocations: 362.7 kB / 1.212 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.5832, allocations: 127.9 kB / 1.212 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.5835, allocations: 197.8 kB / 1.212 GB, free: 10.41 MB / 0.9669 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.001957/0.5855, allocations: 0.8702 MB / 1.213 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5855, allocations: 0 / 1.213 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006398/0.5861, allocations: 416.6 kB / 1.213 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5861, allocations: 4 kB / 1.213 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.5862, allocations: 4 kB / 1.213 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5862, allocations: 7.984 kB / 1.213 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.5865, allocations: 67.92 kB / 1.213 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5865, allocations: 4.172 kB / 1.213 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.587, allocations: 31.89 kB / 1.213 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.587, allocations: 12 kB / 1.213 GB, free: 8.957 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0002804/0.5873, allocations: 223 kB / 1.213 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.5874, allocations: 47.44 kB / 1.213 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.5876, allocations: 68.75 kB / 1.214 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5876, allocations: 4 kB / 1.214 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5876, allocations: 0 / 1.214 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005526/0.5881, allocations: 404.3 kB / 1.214 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.5901, allocations: 1.255 MB / 1.215 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5902, allocations: 4 kB / 1.215 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.5905, allocations: 67.91 kB / 1.215 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5906, allocations: 4 kB / 1.215 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.5906, allocations: 15.94 kB / 1.215 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.5906, allocations: 4 kB / 1.215 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.5906, allocations: 15.92 kB / 1.215 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.5916, allocations: 0.7 MB / 1.216 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.5918, allocations: 164.5 kB / 1.216 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.5919, allocations: 12 kB / 1.216 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.5923, allocations: 39.92 kB / 1.216 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.5924, allocations: 35.84 kB / 1.216 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.5925, allocations: 16 kB / 1.216 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003981/0.5929, allocations: 335.1 kB / 1.217 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5929, allocations: 3.938 kB / 1.217 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005834/0.5935, allocations: 144 kB / 1.217 GB, free: 5.199 MB / 0.9669 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.0004569/0.5939, allocations: 179.8 kB / 1.217 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005958/0.5945, allocations: 308 kB / 1.217 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5946, allocations: 8.062 kB / 1.217 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.5948, allocations: 159.7 kB / 1.217 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.5968, allocations: 360.6 kB / 1.218 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.5989, allocations: 1.362 MB / 1.219 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/0.5994, allocations: 0.8862 MB / 1.22 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005415/0.5999, allocations: 136.6 kB / 1.22 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.6001, allocations: 39.44 kB / 1.22 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of SimCode: time 7.62e-07/0.6001, allocations: 0 / 1.22 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of Templates: time 0.01958/0.6197, allocations: 10.54 MB / 1.23 GB, free: 7.309 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches