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.001698/0.001698, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001862/0.001862, allocations: 195.1 kB / 16.25 MB, free: 6.629 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.34 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.393/2.393, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7643, allocations: 140.4 MB / 0.9491 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.237/1.001, allocations: 186 MB / 1.131 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0161/1.018, allocations: 10.84 MB / 1.141 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/1.019, allocations: 51.56 kB / 1.141 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/1.021, allocations: 441.8 kB / 1.142 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007017/1.028, allocations: 2.428 MB / 1.144 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006143/1.034, allocations: 2.245 MB / 1.146 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003784/1.038, allocations: 2.774 MB / 1.149 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/1.039, allocations: 0.772 MB / 1.15 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/1.041, allocations: 0.9963 MB / 1.151 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002182/1.043, allocations: 1.114 MB / 1.152 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001936/1.043, allocations: 104 kB / 1.152 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005858/1.049, allocations: 3.083 MB / 1.155 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006583/1.05, allocations: 438.8 kB / 1.155 GB, free: 14.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008148/1.051, allocations: 0.5872 MB / 1.156 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005765/1.056, allocations: 3.062 MB / 1.159 GB, free: 10.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.056, allocations: 4 kB / 1.159 GB, free: 10.51 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/1.056, allocations: 0 / 1.159 GB, free: 10.51 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.689e-05/1.056, allocations: 4 kB / 1.159 GB, free: 10.51 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.003838/1.06, allocations: 1.672 MB / 1.161 GB, free: 8.785 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.06, allocations: 16.03 kB / 1.161 GB, free: 8.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.062, allocations: 298.4 kB / 1.161 GB, free: 8.477 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.064, allocations: 0.7766 MB / 1.162 GB, free: 7.656 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/1.064, allocations: 53.3 kB / 1.162 GB, free: 7.605 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.064, allocations: 63.98 kB / 1.162 GB, free: 7.543 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/1.066, allocations: 0.9883 MB / 1.163 GB, free: 6.535 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/1.066, allocations: 0 / 1.163 GB, free: 6.535 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-05/1.066, allocations: 31.98 kB / 1.163 GB, free: 6.504 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/1.066, allocations: 73.94 kB / 1.163 GB, free: 6.434 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/1.067, allocations: 1.011 MB / 1.164 GB, free: 5.418 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.006165/1.074, allocations: 3.582 MB / 1.167 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/1.075, allocations: 0.6572 MB / 1.168 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/1.075, allocations: 382.4 kB / 1.168 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/1.076, allocations: 198.7 kB / 1.169 GB, free: 336 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.076, allocations: 39.12 kB / 1.169 GB, free: 288 kB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 2.394e-06/1.076, allocations: 4 kB / 1.169 GB, free: 284 kB / 0.92 GB Notification: Performance of matching and sorting (n=62): time 0.002013/1.078, allocations: 1.021 MB / 1.17 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/1.078, allocations: 115.4 kB / 1.17 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.079, allocations: 0.8019 MB / 1.17 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/1.079, allocations: 37.7 kB / 1.17 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/1.079, allocations: 428.1 kB / 1.171 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/1.079, allocations: 212.8 kB / 1.171 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/1.08, allocations: 142.6 kB / 1.171 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.08, allocations: 334 kB / 1.172 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/1.081, allocations: 344.7 kB / 1.172 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/1.081, allocations: 460.7 kB / 1.172 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.082, allocations: 0.7743 MB / 1.173 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.082, allocations: 3.938 kB / 1.173 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001556/1.084, allocations: 0.9333 MB / 1.174 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.084, allocations: 8 kB / 1.174 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.084, allocations: 4 kB / 1.174 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/1.084, allocations: 4 kB / 1.174 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/1.085, allocations: 152.1 kB / 1.174 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/1.085, allocations: 11.94 kB / 1.174 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009398/1.086, allocations: 107.1 kB / 1.174 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/1.086, allocations: 31.98 kB / 1.174 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009831/1.087, allocations: 0.5331 MB / 1.175 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006537/1.088, allocations: 454.5 kB / 1.175 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001128/1.089, allocations: 0.7291 MB / 1.176 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.46e-06/1.089, allocations: 4 kB / 1.176 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001471/1.09, allocations: 0.8867 MB / 1.177 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/1.09, allocations: 8.031 kB / 1.177 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.09, allocations: 4 kB / 1.177 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/1.09, allocations: 8 kB / 1.177 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006393/1.091, allocations: 143.8 kB / 1.177 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.091, allocations: 4 kB / 1.177 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008277/1.092, allocations: 99.31 kB / 1.177 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/1.092, allocations: 24.12 kB / 1.177 GB, free: 7.289 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.0002341/1.092, allocations: 224.1 kB / 1.177 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/1.092, allocations: 98.86 kB / 1.177 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/1.094, allocations: 0.8058 MB / 1.178 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.094, allocations: 8 kB / 1.178 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.094, allocations: 0 / 1.178 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/1.095, allocations: 0.7438 MB / 1.179 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/1.098, allocations: 2.09 MB / 1.181 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.098, allocations: 12.03 kB / 1.181 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/1.098, allocations: 127.8 kB / 1.181 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/1.098, allocations: 8 kB / 1.181 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/1.099, allocations: 19.94 kB / 1.181 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/1.099, allocations: 8 kB / 1.181 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.099, allocations: 3.984 kB / 1.181 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/1.101, allocations: 1.367 MB / 1.182 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/1.101, allocations: 255.8 kB / 1.183 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/1.101, allocations: 16 kB / 1.183 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006375/1.102, allocations: 52.05 kB / 1.183 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/1.102, allocations: 40.33 kB / 1.183 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/1.102, allocations: 27.98 kB / 1.183 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007431/1.103, allocations: 0.5615 MB / 1.183 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.362e-06/1.103, allocations: 3.938 kB / 1.183 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001906/1.105, allocations: 0.7528 MB / 1.184 GB, free: 15.86 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.001293/1.106, allocations: 0.5427 MB / 1.185 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002354/1.108, allocations: 1.318 MB / 1.186 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.108, allocations: 0 / 1.186 GB, free: 14 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005412/1.109, allocations: 372.1 kB / 1.186 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/1.111, allocations: 0.5277 MB / 1.187 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/1.114, allocations: 2.238 MB / 1.189 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/1.115, allocations: 1.077 MB / 1.19 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001361/1.117, allocations: 420 kB / 1.19 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/1.117, allocations: 75.42 kB / 1.191 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/1.117, allocations: 0 / 1.191 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of Templates: time 0.03696/1.154, allocations: 22.74 MB / 1.213 GB, free: 2.711 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