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.001071/0.001071, allocations: 88.77 kB / 16.02 MB, free: 80 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.001785/0.001785, allocations: 183.2 kB / 16.92 MB, free: 6.652 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.462/1.462, allocations: 223.3 MB / 241 MB, free: 5.285 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.643/2.643, allocations: 437.8 MB / 0.7128 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 8.188 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7273, allocations: 153.8 MB / 1.024 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2/0.9274, allocations: 183.8 MB / 1.203 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.943, allocations: 11.03 MB / 1.214 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.9448, allocations: 39.69 kB / 1.214 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.9461, allocations: 429.7 kB / 1.214 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006624/0.9528, allocations: 2.424 MB / 1.217 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005981/0.9588, allocations: 2.069 MB / 1.219 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004956/0.9637, allocations: 3.983 MB / 1.223 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.965, allocations: 0.6537 MB / 1.223 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.9667, allocations: 0.8363 MB / 1.224 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.9689, allocations: 1.047 MB / 1.225 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.969, allocations: 47.94 kB / 1.225 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006234/0.9753, allocations: 3.293 MB / 1.228 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006826/0.976, allocations: 382.8 kB / 1.229 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008655/0.9769, allocations: 0.5459 MB / 1.229 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004194/0.9811, allocations: 2.097 MB / 1.231 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.9811, allocations: 4 kB / 1.231 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9811, allocations: 0 / 1.231 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.9812, allocations: 0 / 1.231 GB, free: 10.69 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.00363/0.9848, allocations: 1.472 MB / 1.233 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.9849, allocations: 11.98 kB / 1.233 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.9868, allocations: 298.3 kB / 1.233 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.9882, allocations: 0.7843 MB / 1.234 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.9882, allocations: 49.3 kB / 1.234 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.9884, allocations: 67.98 kB / 1.234 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.99, allocations: 0.9922 MB / 1.235 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.99, allocations: 7.938 kB / 1.235 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.9901, allocations: 23.98 kB / 1.235 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.667e-05/0.9902, allocations: 73.94 kB / 1.235 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.9918, allocations: 1.015 MB / 1.236 GB, free: 5.797 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.006003/0.9979, allocations: 3.59 MB / 1.239 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.9989, allocations: 0.6668 MB / 1.24 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.9995, allocations: 374.4 kB / 1.241 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.9997, allocations: 202.7 kB / 1.241 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.9998, allocations: 35.12 kB / 1.241 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=62): time 2.655e-06/0.9998, allocations: 0 / 1.241 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=62): time 0.6373/1.637, allocations: 1.014 MB / 1.242 GB, free: 216.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/1.637, allocations: 114 kB / 1.242 GB, free: 216.4 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/1.639, allocations: 0.8031 MB / 1.243 GB, free: 216.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/1.639, allocations: 41.23 kB / 1.243 GB, free: 216.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/1.64, allocations: 415.8 kB / 1.243 GB, free: 216.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/1.64, allocations: 226.5 kB / 1.243 GB, free: 216 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.64, allocations: 62.19 kB / 1.243 GB, free: 215.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/1.64, allocations: 334.9 kB / 1.244 GB, free: 215.6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007239/1.641, allocations: 334.4 kB / 1.244 GB, free: 215.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008297/1.642, allocations: 467.4 kB / 1.244 GB, free: 215.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/1.643, allocations: 0.7646 MB / 1.245 GB, free: 214.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.643, allocations: 0.75 kB / 1.245 GB, free: 214.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002089/1.645, allocations: 0.9378 MB / 1.246 GB, free: 214.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.126e-05/1.645, allocations: 157.8 kB / 1.246 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.645, allocations: 2.688 kB / 1.246 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/1.646, allocations: 9.734 kB / 1.246 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/1.646, allocations: 146.2 kB / 1.246 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/1.646, allocations: 6.516 kB / 1.246 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.647, allocations: 110.8 kB / 1.246 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.648, allocations: 27.45 kB / 1.247 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.648, allocations: 4.281 kB / 1.247 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/1.649, allocations: 0.7782 MB / 1.247 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.649, allocations: 2.969 kB / 1.247 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/1.649, allocations: 13 kB / 1.247 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/1.65, allocations: 147.3 kB / 1.247 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/1.65, allocations: 9.938 kB / 1.247 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009399/1.651, allocations: 104.7 kB / 1.248 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.953e-05/1.651, allocations: 25.38 kB / 1.248 GB, free: 213.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007756/1.652, allocations: 375.6 kB / 1.248 GB, free: 213.6 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/1.652, allocations: 95.38 kB / 1.248 GB, free: 213.6 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/1.654, allocations: 0.8078 MB / 1.249 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.654, allocations: 6.344 kB / 1.249 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.654, allocations: 2.062 kB / 1.249 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001239/1.656, allocations: 0.7436 MB / 1.25 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/1.66, allocations: 2.097 MB / 1.252 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.66, allocations: 3.25 kB / 1.252 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/1.66, allocations: 132.9 kB / 1.252 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-05/1.66, allocations: 6.156 kB / 1.252 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.295e-05/1.66, allocations: 17.59 kB / 1.252 GB, free: 211.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.882e-05/1.661, allocations: 11.11 kB / 1.252 GB, free: 211.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.177e-06/1.661, allocations: 10.94 kB / 1.252 GB, free: 211.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/1.663, allocations: 1.353 MB / 1.253 GB, free: 211 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/1.664, allocations: 259.3 kB / 1.253 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/1.664, allocations: 19.77 kB / 1.253 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/1.665, allocations: 53.61 kB / 1.253 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.665, allocations: 48.14 kB / 1.253 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/1.665, allocations: 23.25 kB / 1.253 GB, free: 210.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001215/1.666, allocations: 0.5587 MB / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.21e-07/1.666, allocations: 0 / 1.254 GB, free: 210.6 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00275/1.669, allocations: 0.7505 MB / 1.255 GB, free: 210.5 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 (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.001875/1.671, allocations: 0.5385 MB / 1.255 GB, free: 210.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002579/1.674, allocations: 1.17 MB / 1.256 GB, free: 210 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.674, allocations: 1 kB / 1.256 GB, free: 210 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006703/1.674, allocations: 374.8 kB / 1.257 GB, free: 209.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/1.678, allocations: 0.511 MB / 1.257 GB, free: 209.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/1.682, allocations: 2.401 MB / 1.26 GB, free: 208.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009811/1.683, allocations: 1.074 MB / 1.261 GB, free: 207.6 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004089/1.683, allocations: 81.58 kB / 1.261 GB, free: 207.6 MB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/1.683, allocations: 5.5 kB / 1.261 GB, free: 207.6 MB / 0.9825 GB Notification: Performance of Templates: time 0.03317/1.717, allocations: 18.34 MB / 1.279 GB, free: 197.2 MB / 0.9825 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches