Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 111.1 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 205 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.855/2.855, allocations: 0.49 GB / 0.7923 GB, free: 1.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.89 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 176.1 MB / 1.322 GB, free: 24.99 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2386/1.269, allocations: 191.5 MB / 1.509 GB, free: 9.695 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01771/1.287, allocations: 10.81 MB / 1.52 GB, free: 14.86 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/1.289, allocations: 55.5 kB / 1.52 GB, free: 14.8 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001635/1.29, allocations: 0.5126 MB / 1.52 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007723/1.298, allocations: 2.673 MB / 1.523 GB, free: 11.6 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006266/1.304, allocations: 2.461 MB / 1.525 GB, free: 9.148 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004289/1.309, allocations: 2.771 MB / 1.528 GB, free: 6.371 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/1.31, allocations: 0.6707 MB / 1.528 GB, free: 5.688 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002845/1.313, allocations: 1.254 MB / 1.53 GB, free: 4.43 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002575/1.315, allocations: 1.133 MB / 1.531 GB, free: 3.297 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002064/1.316, allocations: 96 kB / 1.531 GB, free: 3.203 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006289/1.322, allocations: 3.122 MB / 1.534 GB, free: 76 kB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007372/1.323, allocations: 450.6 kB / 1.534 GB, free: 15.63 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0009192/1.323, allocations: 0.5794 MB / 1.535 GB, free: 15.05 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006656/1.33, allocations: 2.971 MB / 1.538 GB, free: 12.07 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.33, allocations: 3.938 kB / 1.538 GB, free: 12.07 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.074e-06/1.33, allocations: 0 / 1.538 GB, free: 12.07 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.766e-05/1.33, allocations: 3.938 kB / 1.538 GB, free: 12.06 MB / 1.217 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.003915/1.334, allocations: 1.725 MB / 1.54 GB, free: 10.28 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.334, allocations: 8.031 kB / 1.54 GB, free: 10.27 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/1.336, allocations: 303 kB / 1.54 GB, free: 9.977 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/1.338, allocations: 0.8319 MB / 1.541 GB, free: 9.102 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/1.338, allocations: 53.3 kB / 1.541 GB, free: 9.047 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.338, allocations: 63.98 kB / 1.541 GB, free: 8.984 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/1.339, allocations: 1 MB / 1.542 GB, free: 7.969 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/1.339, allocations: 3.938 kB / 1.542 GB, free: 7.965 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/1.339, allocations: 23.98 kB / 1.542 GB, free: 7.941 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/1.34, allocations: 73.95 kB / 1.542 GB, free: 7.867 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/1.341, allocations: 1.015 MB / 1.543 GB, free: 6.852 MB / 1.217 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.006298/1.348, allocations: 3.658 MB / 1.546 GB, free: 2.938 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/1.349, allocations: 0.6337 MB / 1.547 GB, free: 2.293 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/1.349, allocations: 354.2 kB / 1.547 GB, free: 1.945 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/1.35, allocations: 198.8 kB / 1.548 GB, free: 1.715 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/1.35, allocations: 39.12 kB / 1.548 GB, free: 1.668 MB / 1.217 GB Notification: Performance of pre-optimization done (n=62): time 2.945e-06/1.35, allocations: 384 / 1.548 GB, free: 1.668 MB / 1.217 GB Notification: Performance of matching and sorting (n=62): time 0.002107/1.352, allocations: 1.041 MB / 1.549 GB, free: 0.625 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/1.352, allocations: 107.4 kB / 1.549 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/1.353, allocations: 0.8058 MB / 1.549 GB, free: 15.68 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.454e-05/1.353, allocations: 41.7 kB / 1.549 GB, free: 15.64 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/1.353, allocations: 420.8 kB / 1.55 GB, free: 15.22 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/1.354, allocations: 234 kB / 1.55 GB, free: 14.99 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/1.354, allocations: 142.6 kB / 1.55 GB, free: 14.85 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.354, allocations: 334 kB / 1.551 GB, free: 14.52 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/1.355, allocations: 344.7 kB / 1.551 GB, free: 14.18 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/1.355, allocations: 472.7 kB / 1.551 GB, free: 13.68 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/1.356, allocations: 0.7626 MB / 1.552 GB, free: 12.89 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.356, allocations: 3.938 kB / 1.552 GB, free: 12.88 MB / 1.232 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001675/1.358, allocations: 0.9378 MB / 1.553 GB, free: 11.94 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.358, allocations: 4 kB / 1.553 GB, free: 11.93 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.358, allocations: 4 kB / 1.553 GB, free: 11.93 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.358, allocations: 4 kB / 1.553 GB, free: 11.93 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/1.359, allocations: 155.8 kB / 1.553 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/1.359, allocations: 4 kB / 1.553 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008126/1.36, allocations: 91.61 kB / 1.553 GB, free: 11.68 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/1.36, allocations: 28 kB / 1.553 GB, free: 11.65 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008955/1.361, allocations: 0.537 MB / 1.554 GB, free: 11.11 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006614/1.361, allocations: 446.5 kB / 1.554 GB, free: 10.64 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001121/1.362, allocations: 0.7408 MB / 1.555 GB, free: 9.859 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/1.362, allocations: 0 / 1.555 GB, free: 9.859 MB / 1.232 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00153/1.364, allocations: 0.8869 MB / 1.556 GB, free: 8.965 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.364, allocations: 8 kB / 1.556 GB, free: 8.957 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/1.364, allocations: 288 / 1.556 GB, free: 8.957 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/1.364, allocations: 12 kB / 1.556 GB, free: 8.945 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/1.365, allocations: 151.8 kB / 1.556 GB, free: 8.797 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/1.365, allocations: 7.938 kB / 1.556 GB, free: 8.789 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007744/1.365, allocations: 59.61 kB / 1.556 GB, free: 8.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/1.366, allocations: 39.97 kB / 1.556 GB, free: 8.691 MB / 1.232 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.0002878/1.366, allocations: 220 kB / 1.556 GB, free: 8.469 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/1.366, allocations: 95.39 kB / 1.556 GB, free: 8.375 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/1.368, allocations: 0.8112 MB / 1.557 GB, free: 7.555 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.368, allocations: 8 kB / 1.557 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.368, allocations: 0 / 1.557 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001097/1.369, allocations: 0.7439 MB / 1.558 GB, free: 6.773 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/1.372, allocations: 2.09 MB / 1.56 GB, free: 4.586 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/1.372, allocations: 12.03 kB / 1.56 GB, free: 4.574 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/1.373, allocations: 131.8 kB / 1.56 GB, free: 4.445 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/1.373, allocations: 4 kB / 1.56 GB, free: 4.441 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/1.373, allocations: 23.92 kB / 1.56 GB, free: 4.418 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-06/1.373, allocations: 8.125 kB / 1.56 GB, free: 4.41 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.373, allocations: 11.94 kB / 1.56 GB, free: 4.398 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.375, allocations: 1.36 MB / 1.561 GB, free: 2.977 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/1.375, allocations: 256.3 kB / 1.562 GB, free: 2.707 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/1.375, allocations: 23.98 kB / 1.562 GB, free: 2.684 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/1.376, allocations: 23.98 kB / 1.562 GB, free: 2.66 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/1.376, allocations: 48.27 kB / 1.562 GB, free: 2.613 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/1.376, allocations: 20 kB / 1.562 GB, free: 2.594 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000773/1.377, allocations: 0.5576 MB / 1.562 GB, free: 2.043 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.377, allocations: 0 / 1.562 GB, free: 2.043 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001875/1.379, allocations: 0.7636 MB / 1.563 GB, free: 1.277 MB / 1.232 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.001223/1.38, allocations: 0.5462 MB / 1.564 GB, free: 0.7227 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002063/1.382, allocations: 1.117 MB / 1.565 GB, free: 15.6 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.382, allocations: 0 / 1.565 GB, free: 15.6 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000548/1.383, allocations: 358.3 kB / 1.565 GB, free: 15.25 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/1.385, allocations: 0.5268 MB / 1.566 GB, free: 14.73 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/1.388, allocations: 1.995 MB / 1.568 GB, free: 12.66 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/1.389, allocations: 1.077 MB / 1.569 GB, free: 11.55 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/1.389, allocations: 79.42 kB / 1.569 GB, free: 11.47 MB / 1.248 GB Notification: Performance of SimCode: time 8.62e-07/1.389, allocations: 0 / 1.569 GB, free: 11.47 MB / 1.248 GB Notification: Performance of Templates: time 0.03031/1.419, allocations: 18.85 MB / 1.587 GB, free: 8.758 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.73526917801064]