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.008095/0.008095, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001815/0.001815, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 461.9 MB / 0.7347 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3463, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.8685/1.215, allocations: 187.9 MB / 1.391 GB, free: 1.262 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01629/1.231, allocations: 10.75 MB / 1.402 GB, free: 8.582 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/1.233, allocations: 39.47 kB / 1.402 GB, free: 8.566 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/1.234, allocations: 0.489 MB / 1.402 GB, free: 8.152 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006869/1.241, allocations: 2.587 MB / 1.405 GB, free: 6.215 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00648/1.248, allocations: 2.47 MB / 1.407 GB, free: 4.543 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003998/1.252, allocations: 2.763 MB / 1.41 GB, free: 2.977 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/1.253, allocations: 0.7794 MB / 1.411 GB, free: 2.473 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/1.255, allocations: 1.02 MB / 1.412 GB, free: 1.891 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/1.258, allocations: 1.058 MB / 1.413 GB, free: 1.281 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/1.258, allocations: 97.59 kB / 1.413 GB, free: 1.281 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006719/1.265, allocations: 3.003 MB / 1.416 GB, free: 15.58 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007553/1.266, allocations: 447.2 kB / 1.416 GB, free: 15.28 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009332/1.266, allocations: 0.5775 MB / 1.417 GB, free: 14.91 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006028/1.273, allocations: 2.956 MB / 1.42 GB, free: 13.09 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.273, allocations: 0 / 1.42 GB, free: 13.09 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.774e-06/1.273, allocations: 0 / 1.42 GB, free: 13.09 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.977e-05/1.273, allocations: 2.594 kB / 1.42 GB, free: 13.09 MB / 1.107 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.003571/1.276, allocations: 1.674 MB / 1.421 GB, free: 11.83 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.276, allocations: 11.38 kB / 1.421 GB, free: 11.83 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/1.278, allocations: 290.8 kB / 1.421 GB, free: 11.69 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.279, allocations: 0.8274 MB / 1.422 GB, free: 11.04 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/1.28, allocations: 53.23 kB / 1.422 GB, free: 10.98 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/1.28, allocations: 63.98 kB / 1.422 GB, free: 10.92 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/1.281, allocations: 1 MB / 1.423 GB, free: 9.902 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.281, allocations: 0.5 kB / 1.423 GB, free: 9.902 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/1.281, allocations: 27.98 kB / 1.423 GB, free: 9.875 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/1.282, allocations: 73.94 kB / 1.423 GB, free: 9.805 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/1.283, allocations: 1.007 MB / 1.424 GB, free: 8.797 MB / 1.107 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.006063/1.289, allocations: 3.571 MB / 1.428 GB, free: 4.996 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/1.29, allocations: 0.6665 MB / 1.429 GB, free: 4.32 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/1.291, allocations: 382.3 kB / 1.429 GB, free: 3.945 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/1.291, allocations: 194.8 kB / 1.429 GB, free: 3.719 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.291, allocations: 39.12 kB / 1.429 GB, free: 3.672 MB / 1.107 GB Notification: Performance of pre-optimization done (n=62): time 2.655e-06/1.291, allocations: 0 / 1.429 GB, free: 3.672 MB / 1.107 GB Notification: Performance of matching and sorting (n=62): time 0.001922/1.293, allocations: 1.025 MB / 1.43 GB, free: 2.645 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/1.293, allocations: 107.4 kB / 1.43 GB, free: 2.516 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009497/1.294, allocations: 0.8057 MB / 1.431 GB, free: 1.699 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/1.294, allocations: 41.7 kB / 1.431 GB, free: 1.652 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/1.295, allocations: 436 kB / 1.432 GB, free: 1.219 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/1.295, allocations: 220.7 kB / 1.432 GB, free: 1 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/1.295, allocations: 142.6 kB / 1.432 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.295, allocations: 337.9 kB / 1.432 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/1.296, allocations: 332.7 kB / 1.432 GB, free: 196 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007417/1.296, allocations: 468.8 kB / 1.433 GB, free: 15.7 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/1.298, allocations: 0.7665 MB / 1.434 GB, free: 14.9 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.298, allocations: 0 / 1.434 GB, free: 14.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001521/1.299, allocations: 0.9401 MB / 1.435 GB, free: 13.95 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/1.299, allocations: 5.562 kB / 1.435 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.299, allocations: 4 kB / 1.435 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.299, allocations: 4 kB / 1.435 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/1.3, allocations: 143.8 kB / 1.435 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/1.3, allocations: 8 kB / 1.435 GB, free: 13.79 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/1.301, allocations: 87.38 kB / 1.435 GB, free: 13.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/1.301, allocations: 32 kB / 1.435 GB, free: 13.68 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008363/1.302, allocations: 0.537 MB / 1.435 GB, free: 13.13 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006222/1.302, allocations: 446.4 kB / 1.436 GB, free: 12.66 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001047/1.303, allocations: 0.737 MB / 1.437 GB, free: 11.88 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/1.303, allocations: 3.938 kB / 1.437 GB, free: 11.88 MB / 1.123 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001363/1.305, allocations: 0.8865 MB / 1.437 GB, free: 10.98 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.305, allocations: 8.281 kB / 1.437 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.305, allocations: 7.984 kB / 1.437 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.305, allocations: 8 kB / 1.437 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/1.305, allocations: 143.8 kB / 1.438 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.305, allocations: 4 kB / 1.438 GB, free: 10.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007549/1.306, allocations: 67.41 kB / 1.438 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.756e-05/1.306, allocations: 29.56 kB / 1.438 GB, free: 10.72 MB / 1.123 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.0002176/1.306, allocations: 220.1 kB / 1.438 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/1.307, allocations: 98.81 kB / 1.438 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/1.308, allocations: 0.8022 MB / 1.439 GB, free: 9.594 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.308, allocations: 8 kB / 1.439 GB, free: 9.586 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.308, allocations: 3.938 kB / 1.439 GB, free: 9.582 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/1.309, allocations: 0.7438 MB / 1.439 GB, free: 8.805 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/1.312, allocations: 2.098 MB / 1.442 GB, free: 6.613 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.312, allocations: 5.938 kB / 1.442 GB, free: 6.609 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/1.313, allocations: 131.8 kB / 1.442 GB, free: 6.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/1.313, allocations: 11.94 kB / 1.442 GB, free: 6.469 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.832e-05/1.313, allocations: 16 kB / 1.442 GB, free: 6.453 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.313, allocations: 4 kB / 1.442 GB, free: 6.449 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.313, allocations: 4 kB / 1.442 GB, free: 6.445 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/1.315, allocations: 1.364 MB / 1.443 GB, free: 5.02 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/1.315, allocations: 255.8 kB / 1.443 GB, free: 4.75 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/1.315, allocations: 19.94 kB / 1.443 GB, free: 4.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/1.316, allocations: 19.98 kB / 1.443 GB, free: 4.711 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/1.316, allocations: 56.27 kB / 1.443 GB, free: 4.656 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/1.316, allocations: 23.98 kB / 1.443 GB, free: 4.633 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006657/1.317, allocations: 0.5537 MB / 1.444 GB, free: 4.082 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.317, allocations: 0 / 1.444 GB, free: 4.082 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001657/1.318, allocations: 0.7489 MB / 1.445 GB, free: 3.332 MB / 1.123 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.00118/1.32, allocations: 0.5471 MB / 1.445 GB, free: 2.789 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001869/1.321, allocations: 1.19 MB / 1.446 GB, free: 1.605 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.321, allocations: 0 / 1.446 GB, free: 1.605 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/1.322, allocations: 366.2 kB / 1.447 GB, free: 1.246 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.324, allocations: 0.535 MB / 1.447 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/1.327, allocations: 1.905 MB / 1.449 GB, free: 14.75 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000637/1.328, allocations: 1.073 MB / 1.45 GB, free: 13.64 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001108/1.329, allocations: 420.8 kB / 1.451 GB, free: 13.23 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/1.329, allocations: 75.44 kB / 1.451 GB, free: 13.16 MB / 1.139 GB Notification: Performance of SimCode: time 5.11e-07/1.329, allocations: 0 / 1.451 GB, free: 13.16 MB / 1.139 GB Notification: Performance of Templates: time 0.03568/1.365, allocations: 23.3 MB / 1.473 GB, free: 6.066 MB / 1.154 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches