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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001834/0.001834, allocations: 108 kB / 15.61 MB, free: 152 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.001846/0.001846, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.788/2.788, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 63.89 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6609/0.6631, allocations: 151.6 MB / 1.017 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2211/0.8842, allocations: 187.9 MB / 1.201 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01741/0.9017, allocations: 10.75 MB / 1.211 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.9034, allocations: 39.75 kB / 1.211 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.9049, allocations: 0.4892 MB / 1.212 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007037/0.912, allocations: 2.586 MB / 1.214 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007037/0.919, allocations: 2.446 MB / 1.217 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004054/0.9231, allocations: 2.763 MB / 1.219 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.9244, allocations: 0.7839 MB / 1.22 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.9262, allocations: 0.9886 MB / 1.221 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.9283, allocations: 1.059 MB / 1.222 GB, free: 88 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.9286, allocations: 96.05 kB / 1.222 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006273/0.9348, allocations: 2.997 MB / 1.225 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006099/0.9355, allocations: 442.8 kB / 1.226 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008593/0.9363, allocations: 0.5755 MB / 1.226 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005654/0.942, allocations: 2.926 MB / 1.229 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.942, allocations: 0 / 1.229 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.942, allocations: 0 / 1.229 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.819e-05/0.9421, allocations: 0 / 1.229 GB, free: 9.043 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00379/0.9459, allocations: 1.674 MB / 1.231 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.9459, allocations: 15.98 kB / 1.231 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.9478, allocations: 302.3 kB / 1.231 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.9492, allocations: 0.7727 MB / 1.232 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.9493, allocations: 53.3 kB / 1.232 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.9494, allocations: 75.83 kB / 1.232 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.9511, allocations: 0.9922 MB / 1.233 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.9512, allocations: 0 / 1.233 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.9513, allocations: 23.98 kB / 1.233 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.9514, allocations: 81.89 kB / 1.233 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.9532, allocations: 1.011 MB / 1.234 GB, free: 3.938 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.006494/0.9597, allocations: 3.594 MB / 1.237 GB, free: 116 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/0.9609, allocations: 0.6572 MB / 1.238 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/0.9615, allocations: 374.4 kB / 1.238 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002949/0.9618, allocations: 198.7 kB / 1.239 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.9619, allocations: 47.12 kB / 1.239 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=62): time 2.284e-06/0.9619, allocations: 0 / 1.239 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=62): time 0.002111/0.964, allocations: 1.017 MB / 1.24 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.9641, allocations: 111.4 kB / 1.24 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.9652, allocations: 0.8058 MB / 1.241 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.9653, allocations: 33.7 kB / 1.241 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/0.9656, allocations: 424.1 kB / 1.241 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.9659, allocations: 232.8 kB / 1.241 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.9661, allocations: 138.6 kB / 1.241 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9663, allocations: 334 kB / 1.242 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/0.9669, allocations: 344.7 kB / 1.242 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007109/0.9676, allocations: 464.7 kB / 1.242 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.9688, allocations: 0.7665 MB / 1.243 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9688, allocations: 0 / 1.243 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001628/0.9705, allocations: 0.9375 MB / 1.244 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.9705, allocations: 4 kB / 1.244 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.9705, allocations: 4 kB / 1.244 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.9705, allocations: 7.984 kB / 1.244 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.9712, allocations: 155.7 kB / 1.244 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.9713, allocations: 4 kB / 1.244 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007627/0.972, allocations: 79.2 kB / 1.244 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.9721, allocations: 27.98 kB / 1.244 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008509/0.973, allocations: 0.537 MB / 1.245 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006608/0.9736, allocations: 454.5 kB / 1.245 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001125/0.9748, allocations: 0.7369 MB / 1.246 GB, free: 7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.9748, allocations: 3.938 kB / 1.246 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001504/0.9763, allocations: 0.8864 MB / 1.247 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.9763, allocations: 8 kB / 1.247 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.9763, allocations: 0 / 1.247 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.9763, allocations: 8 kB / 1.247 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/0.977, allocations: 152 kB / 1.247 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.977, allocations: 19.91 kB / 1.247 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/0.9778, allocations: 59.52 kB / 1.247 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.9779, allocations: 27.98 kB / 1.247 GB, free: 5.832 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003086/0.9782, allocations: 220.1 kB / 1.247 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.9784, allocations: 90.88 kB / 1.247 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.98, allocations: 0.8054 MB / 1.248 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.98, allocations: 12 kB / 1.248 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.9801, allocations: 0 / 1.248 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/0.9812, allocations: 0.7399 MB / 1.249 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.9854, allocations: 2.097 MB / 1.251 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.9854, allocations: 7.938 kB / 1.251 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007055/0.9861, allocations: 132.4 kB / 1.251 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.777e-05/0.9862, allocations: 12 kB / 1.251 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.9863, allocations: 16 kB / 1.251 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/0.9863, allocations: 7.984 kB / 1.251 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.9863, allocations: 7.938 kB / 1.251 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.9885, allocations: 1.36 MB / 1.253 GB, free: 124 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6289/1.617, allocations: 250.7 kB / 1.253 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/1.618, allocations: 17.81 kB / 1.253 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/1.619, allocations: 21.33 kB / 1.253 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.619, allocations: 51.48 kB / 1.253 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.619, allocations: 24.17 kB / 1.253 GB, free: 233.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001366/1.621, allocations: 0.5572 MB / 1.253 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.621, allocations: 0 / 1.253 GB, free: 233.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003502/1.624, allocations: 0.7464 MB / 1.254 GB, free: 233.3 MB / 0.9981 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 (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.00207/1.626, allocations: 0.55 MB / 1.255 GB, free: 233.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003428/1.63, allocations: 1.32 MB / 1.256 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/1.63, allocations: 1.062 kB / 1.256 GB, free: 232.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/1.631, allocations: 367.6 kB / 1.256 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/1.634, allocations: 0.5368 MB / 1.257 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/1.638, allocations: 1.926 MB / 1.259 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/1.64, allocations: 1.079 MB / 1.26 GB, free: 231 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00218/1.642, allocations: 421.5 kB / 1.26 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/1.642, allocations: 72.44 kB / 1.26 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.642, allocations: 0 / 1.26 GB, free: 230.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.0456/1.688, allocations: 22.83 MB / 1.283 GB, free: 222.4 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=400 -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