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.001103/0.001103, allocations: 115.6 kB / 16.37 MB, free: 6.012 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.001093/0.001094, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.61 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2902, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.7165/1.007, allocations: 187.9 MB / 1.202 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01529/1.022, allocations: 10.75 MB / 1.213 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/1.023, allocations: 41.38 kB / 1.213 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/1.025, allocations: 0.4893 MB / 1.213 GB, free: 13.91 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006515/1.032, allocations: 2.58 MB / 1.216 GB, free: 11.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006104/1.038, allocations: 2.448 MB / 1.218 GB, free: 10.33 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003572/1.041, allocations: 2.785 MB / 1.221 GB, free: 8.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/1.043, allocations: 0.7761 MB / 1.222 GB, free: 8.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/1.045, allocations: 0.9852 MB / 1.223 GB, free: 7.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/1.047, allocations: 1.057 MB / 1.224 GB, free: 7.082 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003111/1.048, allocations: 96.12 kB / 1.224 GB, free: 7.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009027/1.057, allocations: 3.009 MB / 1.227 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001124/1.058, allocations: 442.8 kB / 1.227 GB, free: 3.621 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001759/1.06, allocations: 0.5794 MB / 1.228 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008169/1.068, allocations: 2.953 MB / 1.231 GB, free: 80 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.068, allocations: 3.938 kB / 1.231 GB, free: 76 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.134e-06/1.068, allocations: 0 / 1.231 GB, free: 76 kB / 0.92 GB Notification: Performance of Transformations before backend: time 5.197e-05/1.068, allocations: 0 / 1.231 GB, free: 76 kB / 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.006694/1.075, allocations: 1.675 MB / 1.232 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/1.075, allocations: 20.88 kB / 1.232 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/1.079, allocations: 290.3 kB / 1.232 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/1.082, allocations: 0.8352 MB / 1.233 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/1.082, allocations: 49.3 kB / 1.233 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/1.082, allocations: 67.89 kB / 1.233 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/1.086, allocations: 0.9999 MB / 1.234 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/1.086, allocations: 0 / 1.234 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/1.086, allocations: 27.98 kB / 1.234 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001875/1.086, allocations: 70.45 kB / 1.234 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003357/1.089, allocations: 1.015 MB / 1.235 GB, free: 10.92 MB / 0.9356 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.01144/1.101, allocations: 3.57 MB / 1.239 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/1.103, allocations: 0.6642 MB / 1.24 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/1.104, allocations: 384.9 kB / 1.24 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/1.104, allocations: 194.8 kB / 1.24 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/1.105, allocations: 41.56 kB / 1.24 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 3.777e-06/1.105, allocations: 0 / 1.24 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.003719/1.108, allocations: 1.021 MB / 1.241 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.108, allocations: 107.4 kB / 1.241 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/1.11, allocations: 0.8019 MB / 1.242 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.111, allocations: 41.7 kB / 1.242 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/1.111, allocations: 428 kB / 1.243 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/1.112, allocations: 220.8 kB / 1.243 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004653/1.112, allocations: 146.5 kB / 1.243 GB, free: 2.992 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002441/1.112, allocations: 334 kB / 1.243 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/1.113, allocations: 340.7 kB / 1.244 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/1.115, allocations: 468.7 kB / 1.244 GB, free: 1.828 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/1.117, allocations: 0.7704 MB / 1.245 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.117, allocations: 0 / 1.245 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002923/1.12, allocations: 0.9333 MB / 1.246 GB, free: 84 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.12, allocations: 4 kB / 1.246 GB, free: 80 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/1.12, allocations: 4 kB / 1.246 GB, free: 76 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/1.12, allocations: 4 kB / 1.246 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.122, allocations: 152.1 kB / 1.246 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/1.122, allocations: 8 kB / 1.246 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.123, allocations: 75.2 kB / 1.246 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/1.123, allocations: 35.98 kB / 1.246 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001579/1.125, allocations: 0.537 MB / 1.246 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001237/1.126, allocations: 450.4 kB / 1.247 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002155/1.128, allocations: 0.737 MB / 1.248 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/1.128, allocations: 3.938 kB / 1.248 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002818/1.131, allocations: 0.8943 MB / 1.248 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.131, allocations: 10.66 kB / 1.248 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/1.131, allocations: 0 / 1.248 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.131, allocations: 8 kB / 1.248 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.133, allocations: 147.8 kB / 1.249 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/1.133, allocations: 7.984 kB / 1.249 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/1.134, allocations: 60.52 kB / 1.249 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.134, allocations: 28 kB / 1.249 GB, free: 12.85 MB / 0.9512 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.0003347/1.134, allocations: 228.3 kB / 1.249 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/1.135, allocations: 94.81 kB / 1.249 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/1.137, allocations: 0.7969 MB / 1.25 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.137, allocations: 8 kB / 1.25 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/1.137, allocations: 0 / 1.25 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002035/1.139, allocations: 0.7477 MB / 1.251 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/1.146, allocations: 2.102 MB / 1.253 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.146, allocations: 4 kB / 1.253 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.147, allocations: 131.8 kB / 1.253 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/1.147, allocations: 8 kB / 1.253 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/1.147, allocations: 16 kB / 1.253 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-05/1.147, allocations: 12.05 kB / 1.253 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.147, allocations: 8.438 kB / 1.253 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/1.151, allocations: 1.356 MB / 1.254 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/1.152, allocations: 255.8 kB / 1.254 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/1.152, allocations: 20 kB / 1.254 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.153, allocations: 19.98 kB / 1.254 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.153, allocations: 56.25 kB / 1.254 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-05/1.153, allocations: 20 kB / 1.254 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001433/1.155, allocations: 0.5576 MB / 1.255 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.81e-07/1.155, allocations: 0 / 1.255 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003051/1.158, allocations: 0.7528 MB / 1.256 GB, free: 5.449 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.002264/1.16, allocations: 0.5384 MB / 1.256 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003901/1.164, allocations: 1.186 MB / 1.257 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/1.164, allocations: 3.938 kB / 1.257 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.165, allocations: 367.6 kB / 1.258 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/1.17, allocations: 0.5343 MB / 1.258 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005601/1.175, allocations: 1.91 MB / 1.26 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/1.177, allocations: 1.073 MB / 1.261 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002692/1.18, allocations: 416.3 kB / 1.262 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/1.18, allocations: 79.42 kB / 1.262 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of SimCode: time 1.132e-06/1.18, allocations: 0 / 1.262 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of Templates: time 0.04157/1.222, allocations: 22.8 MB / 1.284 GB, free: 8.707 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 -s gbode -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