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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001092/0.001092, allocations: 86.56 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.001189/0.001189, 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.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8352/0.8356, allocations: 142.4 MB / 0.9544 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.209/1.045, allocations: 171.4 MB / 1.122 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01572/1.06, allocations: 10.18 MB / 1.132 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/1.062, allocations: 39.69 kB / 1.132 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/1.063, allocations: 345.7 kB / 1.132 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006046/1.069, allocations: 1.979 MB / 1.134 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005245/1.074, allocations: 1.879 MB / 1.136 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004304/1.079, allocations: 3.304 MB / 1.139 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/1.08, allocations: 0.5904 MB / 1.14 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/1.081, allocations: 0.9066 MB / 1.141 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/1.083, allocations: 1.02 MB / 1.142 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/1.083, allocations: 44 kB / 1.142 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004834/1.088, allocations: 2.054 MB / 1.144 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005213/1.089, allocations: 390.8 kB / 1.144 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003558/1.089, allocations: 229.2 kB / 1.144 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003247/1.092, allocations: 1.976 MB / 1.146 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.092, allocations: 0 / 1.146 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.064e-06/1.092, allocations: 0 / 1.146 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.634e-05/1.092, allocations: 0 / 1.146 GB, free: 10.68 MB / 0.9044 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.003356/1.096, allocations: 1.483 MB / 1.148 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.096, allocations: 8.031 kB / 1.148 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/1.097, allocations: 302.3 kB / 1.148 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/1.099, allocations: 0.7421 MB / 1.149 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/1.099, allocations: 53.3 kB / 1.149 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/1.099, allocations: 63.98 kB / 1.149 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/1.101, allocations: 0.9921 MB / 1.15 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.101, allocations: 0 / 1.15 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/1.101, allocations: 31.94 kB / 1.15 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/1.101, allocations: 73.95 kB / 1.15 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/1.103, allocations: 1.019 MB / 1.151 GB, free: 5.805 MB / 0.9044 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.005864/1.109, allocations: 3.586 MB / 1.154 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/1.11, allocations: 0.657 MB / 1.155 GB, free: 1.32 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/1.11, allocations: 379.8 kB / 1.155 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/1.11, allocations: 206.7 kB / 1.156 GB, free: 0.707 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/1.111, allocations: 39.5 kB / 1.156 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=62): time 2.584e-06/1.111, allocations: 0 / 1.156 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of matching and sorting (n=62): time 0.001936/1.112, allocations: 1.025 MB / 1.157 GB, free: 15.63 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.231e-05/1.113, allocations: 115.4 kB / 1.157 GB, free: 15.49 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.114, allocations: 0.7902 MB / 1.157 GB, free: 14.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/1.114, allocations: 37.7 kB / 1.157 GB, free: 14.65 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003609/1.114, allocations: 424.1 kB / 1.158 GB, free: 14.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/1.114, allocations: 228.8 kB / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/1.114, allocations: 8 kB / 1.158 GB, free: 14 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.114, allocations: 342 kB / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/1.115, allocations: 325.8 kB / 1.159 GB, free: 13.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/1.116, allocations: 452.7 kB / 1.159 GB, free: 12.86 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/1.116, allocations: 403 kB / 1.16 GB, free: 12.47 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.116, allocations: 0 / 1.16 GB, free: 12.47 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00148/1.118, allocations: 0.914 MB / 1.16 GB, free: 11.55 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.118, allocations: 155.5 kB / 1.161 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.118, allocations: 4 kB / 1.161 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.118, allocations: 4 kB / 1.161 GB, free: 11.36 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/1.119, allocations: 151.8 kB / 1.161 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/1.119, allocations: 15.88 kB / 1.161 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008288/1.119, allocations: 107.1 kB / 1.161 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/1.12, allocations: 31.98 kB / 1.161 GB, free: 11.05 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/1.12, allocations: 4 kB / 1.161 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/1.121, allocations: 0.7688 MB / 1.162 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.121, allocations: 4 kB / 1.162 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/1.121, allocations: 8 kB / 1.162 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/1.121, allocations: 147.8 kB / 1.162 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.122, allocations: 11.95 kB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006944/1.122, allocations: 99.5 kB / 1.162 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/1.122, allocations: 28 kB / 1.162 GB, free: 9.988 MB / 0.92 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.0004905/1.123, allocations: 372.9 kB / 1.162 GB, free: 9.613 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/1.123, allocations: 90.94 kB / 1.162 GB, free: 9.523 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/1.124, allocations: 0.8152 MB / 1.163 GB, free: 8.703 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.124, allocations: 8 kB / 1.163 GB, free: 8.695 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.124, allocations: 7.938 kB / 1.163 GB, free: 8.688 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/1.125, allocations: 0.7361 MB / 1.164 GB, free: 7.926 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/1.129, allocations: 2.093 MB / 1.166 GB, free: 5.734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/1.129, allocations: 4 kB / 1.166 GB, free: 5.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006457/1.129, allocations: 131.8 kB / 1.166 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/1.129, allocations: 4 kB / 1.166 GB, free: 5.598 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/1.13, allocations: 16 kB / 1.166 GB, free: 5.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.13, allocations: 8.438 kB / 1.166 GB, free: 5.574 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/1.13, allocations: 15.92 kB / 1.166 GB, free: 5.559 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/1.131, allocations: 1.363 MB / 1.167 GB, free: 4.133 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/1.132, allocations: 255.8 kB / 1.168 GB, free: 3.863 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/1.132, allocations: 20 kB / 1.168 GB, free: 3.844 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/1.133, allocations: 49.45 kB / 1.168 GB, free: 3.797 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/1.133, allocations: 56.27 kB / 1.168 GB, free: 3.742 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/1.133, allocations: 24 kB / 1.168 GB, free: 3.719 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007544/1.134, allocations: 0.5498 MB / 1.168 GB, free: 3.172 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.134, allocations: 0 / 1.168 GB, free: 3.172 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001884/1.135, allocations: 0.7489 MB / 1.169 GB, free: 2.422 MB / 0.92 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.001306/1.137, allocations: 0.5415 MB / 1.17 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00205/1.139, allocations: 1.159 MB / 1.171 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.139, allocations: 8.062 kB / 1.171 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005666/1.139, allocations: 366.2 kB / 1.171 GB, free: 364 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.142, allocations: 0.5061 MB / 1.172 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/1.145, allocations: 2.286 MB / 1.174 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/1.146, allocations: 1.078 MB / 1.175 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001322/1.147, allocations: 414.9 kB / 1.175 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/1.147, allocations: 75.42 kB / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of SimCode: time 6.51e-07/1.147, allocations: 0 / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of Templates: time 0.03644/1.184, allocations: 21.39 MB / 1.196 GB, free: 6.742 MB / 0.9512 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