Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007069/0.0007069, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008518/0.0008518, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.586/2.586, allocations: 437.7 MB / 0.7117 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003276, allocations: 11.98 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6058/0.6062, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1842/0.7904, allocations: 171.4 MB / 1.19 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02511/0.8155, allocations: 10.15 MB / 1.2 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.8173, allocations: 43.62 kB / 1.2 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.8191, allocations: 349.7 kB / 1.2 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008853/0.8279, allocations: 1.975 MB / 1.202 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008554/0.8365, allocations: 1.878 MB / 1.204 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006671/0.8432, allocations: 3.316 MB / 1.207 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.8449, allocations: 0.5867 MB / 1.208 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.8477, allocations: 0.8988 MB / 1.209 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.8507, allocations: 1.012 MB / 1.21 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002481/0.851, allocations: 44 kB / 1.21 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008035/0.8591, allocations: 2.07 MB / 1.212 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009269/0.86, allocations: 382.8 kB / 1.212 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.8606, allocations: 233.1 kB / 1.212 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004941/0.8656, allocations: 1.972 MB / 1.214 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8656, allocations: 0 / 1.214 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8657, allocations: 0 / 1.214 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.554e-05/0.8657, allocations: 0 / 1.214 GB, free: 11.16 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005704/0.8714, allocations: 1.491 MB / 1.216 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.8715, allocations: 15.97 kB / 1.216 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.8751, allocations: 294.4 kB / 1.216 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.8776, allocations: 0.7422 MB / 1.217 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.8777, allocations: 57.25 kB / 1.217 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.878, allocations: 63.98 kB / 1.217 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/0.8809, allocations: 0.9882 MB / 1.218 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.881, allocations: 0 / 1.218 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.8811, allocations: 31.98 kB / 1.218 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/0.8814, allocations: 73.94 kB / 1.218 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003397/0.8848, allocations: 1.023 MB / 1.219 GB, free: 6.277 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.0111/0.8959, allocations: 3.59 MB / 1.222 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.898, allocations: 0.6614 MB / 1.223 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.8992, allocations: 376 kB / 1.223 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.8997, allocations: 198.7 kB / 1.223 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.8997, allocations: 43.12 kB / 1.224 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=62): time 4.318e-06/0.8997, allocations: 0 / 1.224 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=62): time 0.003713/0.9035, allocations: 1.021 MB / 1.225 GB, free: 112 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.9036, allocations: 111.4 kB / 1.225 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.9055, allocations: 0.7941 MB / 1.225 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.996e-05/0.9056, allocations: 33.7 kB / 1.225 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000617/0.9062, allocations: 428 kB / 1.226 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00035/0.9066, allocations: 232.8 kB / 1.226 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.9067, allocations: 12 kB / 1.226 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.9069, allocations: 337.9 kB / 1.226 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.908, allocations: 329.8 kB / 1.227 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.9093, allocations: 456.7 kB / 1.227 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.9105, allocations: 399 kB / 1.228 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.9105, allocations: 0 / 1.228 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002931/0.9134, allocations: 0.9061 MB / 1.228 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.9136, allocations: 157.3 kB / 1.229 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.9136, allocations: 4 kB / 1.229 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.9137, allocations: 4 kB / 1.229 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.9151, allocations: 155.7 kB / 1.229 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.9151, allocations: 12 kB / 1.229 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.9166, allocations: 115 kB / 1.229 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.9168, allocations: 27.98 kB / 1.229 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.9168, allocations: 4 kB / 1.229 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002114/0.9189, allocations: 0.7726 MB / 1.23 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.919, allocations: 0 / 1.23 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.919, allocations: 8.281 kB / 1.23 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.9202, allocations: 151.8 kB / 1.23 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.9202, allocations: 8 kB / 1.23 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.9215, allocations: 95.23 kB / 1.23 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.9216, allocations: 28 kB / 1.23 GB, free: 10.46 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007436/0.9224, allocations: 372.8 kB / 1.23 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.9226, allocations: 94.83 kB / 1.23 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.9252, allocations: 0.8086 MB / 1.231 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.9252, allocations: 8 kB / 1.231 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.9253, allocations: 4 kB / 1.231 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001985/0.9272, allocations: 0.7438 MB / 1.232 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005623/0.9329, allocations: 2.09 MB / 1.234 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.9329, allocations: 4 kB / 1.234 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.934, allocations: 132.2 kB / 1.234 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/0.934, allocations: 8 kB / 1.234 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.9341, allocations: 23.98 kB / 1.234 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.9342, allocations: 11.89 kB / 1.234 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.9342, allocations: 4 kB / 1.234 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.9377, allocations: 1.364 MB / 1.235 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/0.9384, allocations: 255.8 kB / 1.236 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.9387, allocations: 16 kB / 1.236 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.9398, allocations: 55.8 kB / 1.236 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.94, allocations: 52.28 kB / 1.236 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.72e-05/0.9401, allocations: 23.98 kB / 1.236 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001258/0.9413, allocations: 0.5459 MB / 1.236 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9414, allocations: 0 / 1.236 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002938/0.9443, allocations: 0.7489 MB / 1.237 GB, free: 2.879 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/0.9461, allocations: 0.5333 MB / 1.238 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003446/0.9496, allocations: 1.166 MB / 1.239 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.9496, allocations: 4 kB / 1.239 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.9507, allocations: 367.7 kB / 1.239 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00441/0.9551, allocations: 0.523 MB / 1.24 GB, free: 324 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/0.9602, allocations: 2.279 MB / 1.242 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.9613, allocations: 1.085 MB / 1.243 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002663/0.964, allocations: 421 kB / 1.243 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.9644, allocations: 71.44 kB / 1.243 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/0.9644, allocations: 0 / 1.243 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.5001/1.464, allocations: 21.38 MB / 1.264 GB, free: 227.6 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches