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.007798/0.007798, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001552/0.001552, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.347/1.347, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.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.253/2.253, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 0.9508 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9943/0.9957, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2451/1.241, allocations: 187.9 MB / 1.271 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0167/1.258, allocations: 10.76 MB / 1.282 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/1.259, allocations: 43.75 kB / 1.282 GB, free: 6.922 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/1.261, allocations: 493 kB / 1.282 GB, free: 6.438 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00745/1.269, allocations: 2.587 MB / 1.285 GB, free: 3.84 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006789/1.276, allocations: 2.45 MB / 1.287 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00426/1.28, allocations: 2.778 MB / 1.29 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/1.281, allocations: 0.7722 MB / 1.291 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/1.284, allocations: 1.016 MB / 1.292 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/1.287, allocations: 1.061 MB / 1.293 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003778/1.287, allocations: 99.94 kB / 1.293 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006667/1.294, allocations: 3.005 MB / 1.296 GB, free: 8.637 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008833/1.295, allocations: 434.8 kB / 1.296 GB, free: 8.211 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00164/1.296, allocations: 0.5832 MB / 1.297 GB, free: 7.625 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007054/1.303, allocations: 2.957 MB / 1.3 GB, free: 4.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.303, allocations: 0 / 1.3 GB, free: 4.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/1.303, allocations: 0 / 1.3 GB, free: 4.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.458e-05/1.303, allocations: 0 / 1.3 GB, free: 4.66 MB / 1.029 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.004762/1.308, allocations: 1.666 MB / 1.301 GB, free: 2.941 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.308, allocations: 8.031 kB / 1.301 GB, free: 2.934 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/1.31, allocations: 298.4 kB / 1.302 GB, free: 2.641 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/1.312, allocations: 0.8273 MB / 1.302 GB, free: 1.773 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/1.312, allocations: 57.28 kB / 1.303 GB, free: 1.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/1.312, allocations: 63.98 kB / 1.303 GB, free: 1.652 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/1.314, allocations: 1.004 MB / 1.304 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/1.314, allocations: 0 / 1.304 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/1.314, allocations: 23.98 kB / 1.304 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.314, allocations: 73.95 kB / 1.304 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/1.316, allocations: 1.015 MB / 1.305 GB, free: 15.52 MB / 1.045 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.007342/1.324, allocations: 3.574 MB / 1.308 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/1.325, allocations: 0.6657 MB / 1.309 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/1.325, allocations: 376.1 kB / 1.309 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/1.326, allocations: 198.7 kB / 1.309 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.326, allocations: 43.06 kB / 1.309 GB, free: 10.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 2.685e-06/1.326, allocations: 0 / 1.309 GB, free: 10.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.002071/1.328, allocations: 1.021 MB / 1.31 GB, free: 9.359 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/1.328, allocations: 111.4 kB / 1.31 GB, free: 9.227 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/1.329, allocations: 0.8057 MB / 1.311 GB, free: 8.414 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/1.329, allocations: 41.7 kB / 1.311 GB, free: 8.367 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003554/1.33, allocations: 424.1 kB / 1.312 GB, free: 7.945 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/1.33, allocations: 224.9 kB / 1.312 GB, free: 7.723 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002946/1.33, allocations: 142.6 kB / 1.312 GB, free: 7.578 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.33, allocations: 334 kB / 1.312 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/1.331, allocations: 340.7 kB / 1.313 GB, free: 6.91 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007018/1.332, allocations: 468.7 kB / 1.313 GB, free: 6.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.333, allocations: 0.7743 MB / 1.314 GB, free: 5.605 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/1.333, allocations: 0 / 1.314 GB, free: 5.605 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001656/1.334, allocations: 0.9294 MB / 1.315 GB, free: 4.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/1.335, allocations: 8 kB / 1.315 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.335, allocations: 0 / 1.315 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/1.335, allocations: 8 kB / 1.315 GB, free: 4.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/1.335, allocations: 151.7 kB / 1.315 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/1.335, allocations: 11.98 kB / 1.315 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/1.336, allocations: 79.39 kB / 1.315 GB, free: 4.414 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/1.336, allocations: 35.98 kB / 1.315 GB, free: 4.379 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008765/1.337, allocations: 0.537 MB / 1.316 GB, free: 3.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006658/1.338, allocations: 450.4 kB / 1.316 GB, free: 3.359 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001129/1.339, allocations: 0.7292 MB / 1.317 GB, free: 2.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.308e-06/1.339, allocations: 0 / 1.317 GB, free: 2.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001611/1.341, allocations: 0.8905 MB / 1.318 GB, free: 1.691 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.341, allocations: 4 kB / 1.318 GB, free: 1.688 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/1.341, allocations: 8.266 kB / 1.318 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/1.341, allocations: 8 kB / 1.318 GB, free: 1.672 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/1.341, allocations: 151.9 kB / 1.318 GB, free: 1.523 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/1.341, allocations: 8 kB / 1.318 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008353/1.342, allocations: 67.41 kB / 1.318 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/1.342, allocations: 24 kB / 1.318 GB, free: 1.426 MB / 1.045 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.0002929/1.343, allocations: 224.6 kB / 1.318 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002367/1.343, allocations: 94.88 kB / 1.318 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.344, allocations: 0.8072 MB / 1.319 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.344, allocations: 4 kB / 1.319 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.344, allocations: 4 kB / 1.319 GB, free: 292 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/1.346, allocations: 0.7439 MB / 1.32 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/1.349, allocations: 2.09 MB / 1.322 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.349, allocations: 12 kB / 1.322 GB, free: 13.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/1.35, allocations: 131.8 kB / 1.322 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.691e-05/1.35, allocations: 11.94 kB / 1.322 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/1.35, allocations: 20 kB / 1.322 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-05/1.35, allocations: 11.92 kB / 1.322 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.35, allocations: 7.938 kB / 1.322 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/1.352, allocations: 1.352 MB / 1.323 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/1.353, allocations: 259.8 kB / 1.323 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/1.353, allocations: 16 kB / 1.324 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/1.354, allocations: 19.98 kB / 1.324 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.354, allocations: 56.25 kB / 1.324 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/1.354, allocations: 24 kB / 1.324 GB, free: 11.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009042/1.355, allocations: 0.5576 MB / 1.324 GB, free: 10.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.01e-07/1.355, allocations: 0 / 1.324 GB, free: 10.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002497/1.357, allocations: 0.745 MB / 1.325 GB, free: 10.03 MB / 1.061 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.00186/1.359, allocations: 0.5389 MB / 1.325 GB, free: 9.484 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002157/1.361, allocations: 1.175 MB / 1.327 GB, free: 8.312 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.361, allocations: 8.062 kB / 1.327 GB, free: 8.305 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005499/1.362, allocations: 366.1 kB / 1.327 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/1.364, allocations: 0.5428 MB / 1.327 GB, free: 7.422 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/1.368, allocations: 1.906 MB / 1.329 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008393/1.369, allocations: 1.073 MB / 1.33 GB, free: 4.336 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001363/1.37, allocations: 419.4 kB / 1.331 GB, free: 3.926 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/1.37, allocations: 79.42 kB / 1.331 GB, free: 3.848 MB / 1.061 GB Notification: Performance of SimCode: time 8.02e-07/1.37, allocations: 0 / 1.331 GB, free: 3.848 MB / 1.061 GB Notification: Performance of Templates: time 0.04138/1.412, allocations: 23.29 MB / 1.354 GB, free: 12.8 MB / 1.092 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