Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001534/0.001534, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001695/0.001695, allocations: 191.7 kB / 16.13 MB, free: 6.691 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: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.88 kB / 0.8118 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7826, allocations: 140.4 MB / 0.9489 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2161/0.9988, allocations: 186.2 MB / 1.131 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01713/1.016, allocations: 11.18 MB / 1.142 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/1.018, allocations: 47.62 kB / 1.142 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001426/1.02, allocations: 425.8 kB / 1.142 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00644/1.026, allocations: 2.428 MB / 1.144 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005643/1.032, allocations: 2.073 MB / 1.147 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00494/1.037, allocations: 3.991 MB / 1.15 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/1.038, allocations: 0.6581 MB / 1.151 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/1.04, allocations: 0.8441 MB / 1.152 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/1.042, allocations: 1.08 MB / 1.153 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/1.042, allocations: 48 kB / 1.153 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007277/1.049, allocations: 3.301 MB / 1.156 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005192/1.05, allocations: 398.8 kB / 1.157 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007044/1.051, allocations: 0.5325 MB / 1.157 GB, free: 12.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005132/1.056, allocations: 3.027 MB / 1.16 GB, free: 9.289 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.056, allocations: 0 / 1.16 GB, free: 9.289 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.62e-07/1.056, allocations: 0 / 1.16 GB, free: 9.289 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.796e-05/1.056, allocations: 0 / 1.16 GB, free: 9.289 MB / 0.92 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.003725/1.059, allocations: 1.67 MB / 1.162 GB, free: 7.566 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.06, allocations: 12.03 kB / 1.162 GB, free: 7.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/1.061, allocations: 302.3 kB / 1.162 GB, free: 7.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/1.063, allocations: 0.7688 MB / 1.163 GB, free: 6.445 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/1.063, allocations: 57.28 kB / 1.163 GB, free: 6.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/1.063, allocations: 71.89 kB / 1.163 GB, free: 6.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/1.064, allocations: 0.9961 MB / 1.164 GB, free: 5.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/1.064, allocations: 4 kB / 1.164 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.666e-05/1.065, allocations: 23.98 kB / 1.164 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/1.065, allocations: 69.95 kB / 1.164 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/1.066, allocations: 1.019 MB / 1.165 GB, free: 4.188 MB / 0.92 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.005867/1.072, allocations: 3.57 MB / 1.168 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/1.073, allocations: 0.6729 MB / 1.169 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005241/1.074, allocations: 374.4 kB / 1.169 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/1.074, allocations: 194.8 kB / 1.17 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.074, allocations: 43.12 kB / 1.17 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.094e-06/1.074, allocations: 0 / 1.17 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.002008/1.076, allocations: 1.017 MB / 1.171 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/1.076, allocations: 115.3 kB / 1.171 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/1.077, allocations: 0.798 MB / 1.172 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/1.077, allocations: 41.7 kB / 1.172 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/1.078, allocations: 428.1 kB / 1.172 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/1.078, allocations: 220.8 kB / 1.172 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/1.078, allocations: 142.6 kB / 1.172 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.078, allocations: 330 kB / 1.173 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005678/1.079, allocations: 340.7 kB / 1.173 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/1.08, allocations: 464.7 kB / 1.173 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/1.081, allocations: 0.7704 MB / 1.174 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.081, allocations: 0 / 1.174 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001582/1.082, allocations: 0.9411 MB / 1.175 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.082, allocations: 4 kB / 1.175 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/1.082, allocations: 4 kB / 1.175 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.082, allocations: 4 kB / 1.175 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/1.083, allocations: 147.8 kB / 1.175 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.083, allocations: 11.94 kB / 1.175 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008386/1.084, allocations: 107.4 kB / 1.175 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/1.084, allocations: 32 kB / 1.175 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007775/1.085, allocations: 0.5408 MB / 1.176 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000606/1.086, allocations: 446.5 kB / 1.176 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00105/1.087, allocations: 0.7291 MB / 1.177 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/1.087, allocations: 8 kB / 1.177 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001356/1.088, allocations: 0.8903 MB / 1.178 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/1.088, allocations: 4 kB / 1.178 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/1.088, allocations: 4 kB / 1.178 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/1.088, allocations: 8 kB / 1.178 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006508/1.089, allocations: 147.8 kB / 1.178 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.089, allocations: 4.281 kB / 1.178 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/1.089, allocations: 95.52 kB / 1.178 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/1.09, allocations: 35.98 kB / 1.178 GB, free: 6.059 MB / 0.9356 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.0002256/1.09, allocations: 228 kB / 1.178 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/1.09, allocations: 86.97 kB / 1.179 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/1.091, allocations: 0.8024 MB / 1.179 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.091, allocations: 8 kB / 1.179 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.091, allocations: 0 / 1.179 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001016/1.092, allocations: 0.7477 MB / 1.18 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/1.095, allocations: 2.093 MB / 1.182 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.095, allocations: 7.938 kB / 1.182 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/1.096, allocations: 127.8 kB / 1.182 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/1.096, allocations: 8 kB / 1.182 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-05/1.096, allocations: 24.42 kB / 1.182 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.096, allocations: 12 kB / 1.182 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.096, allocations: 4 kB / 1.182 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.098, allocations: 1.352 MB / 1.184 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/1.098, allocations: 255.9 kB / 1.184 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.098, allocations: 27.86 kB / 1.184 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/1.099, allocations: 43.91 kB / 1.184 GB, free: 28 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.099, allocations: 52.31 kB / 1.184 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/1.099, allocations: 23.98 kB / 1.184 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006853/1.1, allocations: 0.5537 MB / 1.185 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.1, allocations: 0 / 1.185 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001705/1.102, allocations: 0.7528 MB / 1.185 GB, free: 14.65 MB / 0.9512 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.00119/1.103, allocations: 0.5389 MB / 1.186 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001835/1.105, allocations: 1.175 MB / 1.187 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/1.105, allocations: 0 / 1.187 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005179/1.105, allocations: 374.1 kB / 1.187 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.108, allocations: 0.5155 MB / 1.188 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/1.11, allocations: 2.232 MB / 1.19 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006646/1.111, allocations: 1.081 MB / 1.191 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001234/1.112, allocations: 418.5 kB / 1.191 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/1.113, allocations: 75.44 kB / 1.191 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/1.113, allocations: 0 / 1.191 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.03395/1.147, allocations: 22.06 MB / 1.213 GB, free: 2.328 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches