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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001757/0.001757, allocations: 100.8 kB / 15.98 MB, free: 6.355 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.002067/0.002067, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.365/1.365, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7107 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 64.19 kB / 0.8694 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.326, allocations: 151.6 MB / 1.017 GB, free: 10.97 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.8059/1.132, allocations: 186 MB / 1.199 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01781/1.15, allocations: 10.83 MB / 1.21 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/1.152, allocations: 42.62 kB / 1.21 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001601/1.154, allocations: 451.3 kB / 1.21 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007686/1.161, allocations: 2.425 MB / 1.213 GB, free: 14.37 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00683/1.168, allocations: 2.248 MB / 1.215 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004708/1.173, allocations: 2.776 MB / 1.217 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/1.174, allocations: 0.7656 MB / 1.218 GB, free: 10.89 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/1.177, allocations: 0.9994 MB / 1.219 GB, free: 10.33 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/1.179, allocations: 1.119 MB / 1.22 GB, free: 9.695 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002632/1.18, allocations: 97.47 kB / 1.22 GB, free: 9.695 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006745/1.186, allocations: 3.076 MB / 1.223 GB, free: 7 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007708/1.187, allocations: 438.8 kB / 1.224 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/1.188, allocations: 0.5872 MB / 1.224 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004372/1.193, allocations: 2.129 MB / 1.226 GB, free: 3.848 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.193, allocations: 3.984 kB / 1.226 GB, free: 3.844 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.224e-06/1.193, allocations: 0 / 1.226 GB, free: 3.844 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.621e-05/1.193, allocations: 0 / 1.226 GB, free: 3.844 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.004128/1.197, allocations: 1.67 MB / 1.228 GB, free: 2.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.197, allocations: 12.88 kB / 1.228 GB, free: 2.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/1.199, allocations: 295.1 kB / 1.228 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/1.2, allocations: 0.7766 MB / 1.229 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/1.2, allocations: 53.3 kB / 1.229 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/1.2, allocations: 59.98 kB / 1.229 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/1.202, allocations: 1.012 MB / 1.23 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/1.202, allocations: 0 / 1.23 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/1.202, allocations: 31.97 kB / 1.23 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.652e-05/1.202, allocations: 73.7 kB / 1.23 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/1.204, allocations: 1.011 MB / 1.231 GB, free: 14.75 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.006079/1.21, allocations: 3.563 MB / 1.235 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1.211, allocations: 0.6615 MB / 1.235 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/1.212, allocations: 378.3 kB / 1.236 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/1.212, allocations: 206.6 kB / 1.236 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/1.212, allocations: 43.12 kB / 1.236 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 3.386e-06/1.212, allocations: 0 / 1.236 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.002161/1.214, allocations: 1.021 MB / 1.237 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/1.214, allocations: 111.4 kB / 1.237 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/1.215, allocations: 0.8019 MB / 1.238 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-05/1.216, allocations: 41.7 kB / 1.238 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/1.216, allocations: 424.1 kB / 1.238 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/1.216, allocations: 216.9 kB / 1.239 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/1.216, allocations: 146.5 kB / 1.239 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.216, allocations: 334 kB / 1.239 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006047/1.217, allocations: 348.6 kB / 1.239 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/1.218, allocations: 460.8 kB / 1.24 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.219, allocations: 0.7665 MB / 1.241 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/1.219, allocations: 4 kB / 1.241 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001577/1.221, allocations: 0.9334 MB / 1.241 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.221, allocations: 4 kB / 1.241 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.221, allocations: 4 kB / 1.241 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.221, allocations: 7.938 kB / 1.241 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/1.221, allocations: 151.8 kB / 1.242 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.221, allocations: 4 kB / 1.242 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008823/1.222, allocations: 111.2 kB / 1.242 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/1.222, allocations: 28 kB / 1.242 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008701/1.223, allocations: 0.537 MB / 1.242 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005882/1.224, allocations: 454.4 kB / 1.243 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/1.225, allocations: 0.7292 MB / 1.243 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/1.225, allocations: 0 / 1.243 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001433/1.226, allocations: 0.8904 MB / 1.244 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.226, allocations: 8 kB / 1.244 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.226, allocations: 4 kB / 1.244 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/1.226, allocations: 4 kB / 1.244 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/1.227, allocations: 147.8 kB / 1.244 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.227, allocations: 11.98 kB / 1.244 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008197/1.228, allocations: 99.59 kB / 1.245 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/1.228, allocations: 28 kB / 1.245 GB, free: 0.6211 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.0002775/1.228, allocations: 216.1 kB / 1.245 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/1.228, allocations: 102.8 kB / 1.245 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/1.23, allocations: 0.8009 MB / 1.246 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.23, allocations: 4.094 kB / 1.246 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/1.23, allocations: 3.938 kB / 1.246 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/1.231, allocations: 0.7478 MB / 1.246 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003277/1.234, allocations: 2.093 MB / 1.248 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.234, allocations: 4 kB / 1.248 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/1.235, allocations: 139.7 kB / 1.249 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/1.235, allocations: 4 kB / 1.249 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/1.235, allocations: 24 kB / 1.249 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/1.235, allocations: 8.375 kB / 1.249 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.235, allocations: 8 kB / 1.249 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002045/1.237, allocations: 1.352 MB / 1.25 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/1.238, allocations: 263.8 kB / 1.25 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/1.238, allocations: 12 kB / 1.25 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006435/1.238, allocations: 47.81 kB / 1.25 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.238, allocations: 60.25 kB / 1.25 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/1.239, allocations: 20 kB / 1.25 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007607/1.239, allocations: 0.5576 MB / 1.251 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.239, allocations: 0 / 1.251 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001946/1.241, allocations: 0.7489 MB / 1.252 GB, free: 9.199 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.001277/1.243, allocations: 0.5444 MB / 1.252 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002295/1.245, allocations: 1.319 MB / 1.253 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.245, allocations: 0 / 1.253 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005109/1.245, allocations: 370.2 kB / 1.254 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/1.248, allocations: 0.5409 MB / 1.254 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/1.251, allocations: 2.29 MB / 1.257 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/1.252, allocations: 1.081 MB / 1.258 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/1.252, allocations: 75.44 kB / 1.258 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of SimCode: time 1.182e-06/1.252, allocations: 0 / 1.258 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of Templates: time 0.02654/1.278, allocations: 18.46 MB / 1.276 GB, free: 0.5664 MB / 0.9669 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