Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001388/0.001394, allocations: 108 kB / 16.41 MB, free: 6.461 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.001575/0.001575, allocations: 187 kB / 17.34 MB, free: 5.719 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9371/0.9384, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.31/1.249, allocations: 187.9 MB / 1.392 GB, free: 1.051 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0303/1.279, allocations: 10.76 MB / 1.402 GB, free: 6.262 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/1.281, allocations: 43.75 kB / 1.402 GB, free: 6.219 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002818/1.284, allocations: 497 kB / 1.403 GB, free: 5.73 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01328/1.297, allocations: 2.575 MB / 1.405 GB, free: 3.145 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01198/1.309, allocations: 2.474 MB / 1.408 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006759/1.316, allocations: 2.77 MB / 1.411 GB, free: 13.89 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/1.319, allocations: 0.7683 MB / 1.411 GB, free: 13.11 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/1.322, allocations: 1.028 MB / 1.412 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004522/1.327, allocations: 1.053 MB / 1.413 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0006544/1.327, allocations: 100 kB / 1.413 GB, free: 10.93 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01228/1.34, allocations: 3.009 MB / 1.416 GB, free: 7.91 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001342/1.341, allocations: 434.8 kB / 1.417 GB, free: 7.484 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001955/1.343, allocations: 0.5793 MB / 1.417 GB, free: 6.902 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01141/1.354, allocations: 2.953 MB / 1.42 GB, free: 3.941 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/1.354, allocations: 0 / 1.42 GB, free: 3.941 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.475e-06/1.354, allocations: 4 kB / 1.42 GB, free: 3.938 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.076e-05/1.355, allocations: 0 / 1.42 GB, free: 3.938 MB / 1.139 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.007408/1.362, allocations: 1.67 MB / 1.422 GB, free: 2.215 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/1.362, allocations: 8.031 kB / 1.422 GB, free: 2.207 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/1.366, allocations: 294.4 kB / 1.422 GB, free: 1.918 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/1.369, allocations: 0.835 MB / 1.423 GB, free: 1.043 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.369, allocations: 61.27 kB / 1.423 GB, free: 0.9805 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004268/1.37, allocations: 63.98 kB / 1.423 GB, free: 0.918 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/1.374, allocations: 0.9921 MB / 1.424 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/1.374, allocations: 0 / 1.424 GB, free: 15.91 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/1.374, allocations: 27.98 kB / 1.424 GB, free: 15.88 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/1.374, allocations: 77.95 kB / 1.424 GB, free: 15.8 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003183/1.377, allocations: 1.011 MB / 1.425 GB, free: 14.79 MB / 1.154 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.01198/1.389, allocations: 3.578 MB / 1.429 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/1.391, allocations: 0.6575 MB / 1.429 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.393, allocations: 379.3 kB / 1.43 GB, free: 9.949 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005013/1.393, allocations: 195.2 kB / 1.43 GB, free: 9.723 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.065e-05/1.393, allocations: 43.06 kB / 1.43 GB, free: 9.672 MB / 1.154 GB Notification: Performance of pre-optimization done (n=62): time 4.849e-06/1.393, allocations: 0 / 1.43 GB, free: 9.672 MB / 1.154 GB Notification: Performance of matching and sorting (n=62): time 0.003918/1.397, allocations: 1.025 MB / 1.431 GB, free: 8.645 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/1.397, allocations: 111.3 kB / 1.431 GB, free: 8.512 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/1.399, allocations: 0.8097 MB / 1.432 GB, free: 7.691 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/1.4, allocations: 37.7 kB / 1.432 GB, free: 7.648 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006005/1.4, allocations: 424 kB / 1.432 GB, free: 7.227 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000435/1.401, allocations: 228.8 kB / 1.432 GB, free: 7 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004853/1.401, allocations: 138.6 kB / 1.433 GB, free: 6.855 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002214/1.401, allocations: 338 kB / 1.433 GB, free: 6.52 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/1.403, allocations: 344.7 kB / 1.433 GB, free: 6.18 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/1.404, allocations: 464.7 kB / 1.434 GB, free: 5.691 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/1.406, allocations: 0.7665 MB / 1.434 GB, free: 4.895 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/1.406, allocations: 0 / 1.434 GB, free: 4.895 MB / 1.154 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00322/1.41, allocations: 0.9256 MB / 1.435 GB, free: 3.961 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/1.41, allocations: 4 kB / 1.435 GB, free: 3.957 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.41, allocations: 4.281 kB / 1.435 GB, free: 3.953 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.715e-05/1.41, allocations: 8 kB / 1.435 GB, free: 3.945 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.411, allocations: 159.7 kB / 1.435 GB, free: 3.789 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/1.411, allocations: 4 kB / 1.435 GB, free: 3.785 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.413, allocations: 83.11 kB / 1.436 GB, free: 3.703 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/1.413, allocations: 27.98 kB / 1.436 GB, free: 3.676 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001656/1.415, allocations: 0.537 MB / 1.436 GB, free: 3.137 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001141/1.416, allocations: 462.3 kB / 1.437 GB, free: 2.645 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002047/1.418, allocations: 0.7292 MB / 1.437 GB, free: 1.879 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.512e-06/1.418, allocations: 0 / 1.437 GB, free: 1.879 MB / 1.154 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002885/1.421, allocations: 0.8866 MB / 1.438 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.421, allocations: 10.03 kB / 1.438 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.421, allocations: 0 / 1.438 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.421, allocations: 11.98 kB / 1.438 GB, free: 0.9648 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.422, allocations: 151.8 kB / 1.438 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/1.422, allocations: 4 kB / 1.438 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.424, allocations: 67.69 kB / 1.438 GB, free: 0.7461 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.424, allocations: 32 kB / 1.438 GB, free: 0.7148 MB / 1.154 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.0004076/1.424, allocations: 220.1 kB / 1.439 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/1.425, allocations: 90.88 kB / 1.439 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/1.428, allocations: 0.807 MB / 1.439 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.428, allocations: 8 kB / 1.439 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.428, allocations: 0 / 1.439 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001864/1.429, allocations: 0.7439 MB / 1.44 GB, free: 14.8 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006502/1.436, allocations: 2.097 MB / 1.442 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/1.436, allocations: 8.062 kB / 1.442 GB, free: 12.6 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/1.437, allocations: 135.8 kB / 1.442 GB, free: 12.47 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/1.438, allocations: 4 kB / 1.442 GB, free: 12.46 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.601e-05/1.438, allocations: 16.44 kB / 1.442 GB, free: 12.45 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-05/1.438, allocations: 23.86 kB / 1.442 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.438, allocations: 4 kB / 1.442 GB, free: 12.42 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/1.441, allocations: 1.348 MB / 1.444 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009201/1.442, allocations: 259.8 kB / 1.444 GB, free: 10.74 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003519/1.443, allocations: 20 kB / 1.444 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.444, allocations: 23.98 kB / 1.444 GB, free: 10.7 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/1.444, allocations: 48.25 kB / 1.444 GB, free: 10.65 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.232e-05/1.444, allocations: 20 kB / 1.444 GB, free: 10.63 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001565/1.446, allocations: 0.5576 MB / 1.445 GB, free: 10.08 MB / 1.17 GB Notification: Performance of sort global known variables: time 4.11e-07/1.446, allocations: 7.938 kB / 1.445 GB, free: 10.07 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003622/1.449, allocations: 0.7489 MB / 1.445 GB, free: 9.32 MB / 1.17 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.00255/1.452, allocations: 0.5276 MB / 1.446 GB, free: 8.789 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004031/1.456, allocations: 1.186 MB / 1.447 GB, free: 7.609 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.456, allocations: 0 / 1.447 GB, free: 7.609 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/1.457, allocations: 371.9 kB / 1.447 GB, free: 7.242 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005099/1.462, allocations: 0.5352 MB / 1.448 GB, free: 6.715 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/1.468, allocations: 1.976 MB / 1.45 GB, free: 4.664 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.469, allocations: 1.073 MB / 1.451 GB, free: 3.562 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/1.47, allocations: 83.42 kB / 1.451 GB, free: 3.48 MB / 1.17 GB Notification: Performance of SimCode: time 9.02e-07/1.47, allocations: 3.938 kB / 1.451 GB, free: 3.477 MB / 1.17 GB Notification: Performance of Templates: time 0.04701/1.517, allocations: 18.58 MB / 1.469 GB, free: 1.016 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches