Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001514/0.001514, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001664/0.001664, allocations: 215 kB / 23.04 MB, free: 4.863 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.773 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 3.05/3.05, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [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.001998/0.001998, allocations: 66.89 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3555, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05251/0.408, allocations: 45.88 MB / 1.372 GB, free: 2.875 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.4272, allocations: 11.88 MB / 1.384 GB, free: 6.969 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.4298, allocations: 107.1 kB / 1.384 GB, free: 6.863 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.432, allocations: 0.7604 MB / 1.384 GB, free: 6.098 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005228/0.4372, allocations: 1.936 MB / 1.386 GB, free: 4.152 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.4408, allocations: 1.387 MB / 1.388 GB, free: 2.777 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004426/0.4452, allocations: 3.29 MB / 1.391 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.4466, allocations: 0.962 MB / 1.392 GB, free: 14.48 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.4502, allocations: 1.545 MB / 1.393 GB, free: 12.94 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.4516, allocations: 0.9134 MB / 1.394 GB, free: 12.02 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.4517, allocations: 96 kB / 1.394 GB, free: 11.93 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.4537, allocations: 0.8811 MB / 1.395 GB, free: 11.05 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.454, allocations: 306.6 kB / 1.395 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.4547, allocations: 0.5635 MB / 1.396 GB, free: 10.18 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003092/0.4577, allocations: 2.024 MB / 1.398 GB, free: 8.148 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4578, allocations: 0 / 1.398 GB, free: 8.148 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4578, allocations: 4 kB / 1.398 GB, free: 8.145 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.4578, allocations: 0 / 1.398 GB, free: 8.145 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002713/0.4605, allocations: 1.675 MB / 1.4 GB, free: 6.43 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4605, allocations: 8.031 kB / 1.4 GB, free: 6.422 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/0.4612, allocations: 223.9 kB / 1.4 GB, free: 6.203 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.4633, allocations: 1.029 MB / 1.401 GB, free: 5.125 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.472e-05/0.4634, allocations: 70.38 kB / 1.401 GB, free: 5.059 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4635, allocations: 87.94 kB / 1.401 GB, free: 4.973 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.4653, allocations: 1.129 MB / 1.402 GB, free: 3.73 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.4653, allocations: 3.938 kB / 1.402 GB, free: 3.727 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/0.4654, allocations: 40 kB / 1.402 GB, free: 3.688 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.4655, allocations: 24 kB / 1.402 GB, free: 3.664 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.4669, allocations: 0.6477 MB / 1.403 GB, free: 3.016 MB / 1.092 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.004901/0.4718, allocations: 3.794 MB / 1.407 GB, free: 15.1 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.473, allocations: 375.8 kB / 1.407 GB, free: 14.72 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.4735, allocations: 200.7 kB / 1.407 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/0.4739, allocations: 111.7 kB / 1.407 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.4739, allocations: 38.56 kB / 1.407 GB, free: 14.37 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 2.575e-06/0.4739, allocations: 0 / 1.407 GB, free: 14.37 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.002707/0.4766, allocations: 0.84 MB / 1.408 GB, free: 13.51 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.4766, allocations: 55.41 kB / 1.408 GB, free: 13.45 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.4778, allocations: 0.8759 MB / 1.409 GB, free: 12.55 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.4778, allocations: 29.7 kB / 1.409 GB, free: 12.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.4783, allocations: 0.6089 MB / 1.41 GB, free: 11.9 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.4784, allocations: 107.1 kB / 1.41 GB, free: 11.79 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.4786, allocations: 114 kB / 1.41 GB, free: 11.68 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4787, allocations: 334 kB / 1.41 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.4792, allocations: 192.8 kB / 1.41 GB, free: 11.15 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/0.48, allocations: 0.5468 MB / 1.411 GB, free: 10.48 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.4813, allocations: 0.5982 MB / 1.411 GB, free: 9.797 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4813, allocations: 4 kB / 1.411 GB, free: 9.793 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001675/0.483, allocations: 0.7456 MB / 1.412 GB, free: 9.031 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.483, allocations: 11.98 kB / 1.412 GB, free: 9.02 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.483, allocations: 11.94 kB / 1.412 GB, free: 9.008 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/0.4837, allocations: 154.4 kB / 1.412 GB, free: 8.848 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.4843, allocations: 143.8 kB / 1.412 GB, free: 8.707 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.4855, allocations: 1.719 MB / 1.414 GB, free: 6.91 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.4861, allocations: 79.77 kB / 1.414 GB, free: 6.832 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.4862, allocations: 31.98 kB / 1.414 GB, free: 6.801 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004568/0.4867, allocations: 273.7 kB / 1.414 GB, free: 6.523 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.4868, allocations: 103.3 kB / 1.415 GB, free: 6.422 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.4886, allocations: 0.7108 MB / 1.415 GB, free: 5.691 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.4886, allocations: 4 kB / 1.415 GB, free: 5.688 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4886, allocations: 0 / 1.415 GB, free: 5.688 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.4886, allocations: 7.922 kB / 1.415 GB, free: 5.68 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.4915, allocations: 1.45 MB / 1.417 GB, free: 4.168 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.4915, allocations: 0 / 1.417 GB, free: 4.168 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.4919, allocations: 84.09 kB / 1.417 GB, free: 4.086 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/0.4925, allocations: 154.4 kB / 1.417 GB, free: 3.926 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.4925, allocations: 8 kB / 1.417 GB, free: 3.918 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.4938, allocations: 1.712 MB / 1.419 GB, free: 2.129 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4938, allocations: 0 / 1.419 GB, free: 2.129 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.4954, allocations: 0.792 MB / 1.419 GB, free: 1.293 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.4958, allocations: 159.2 kB / 1.42 GB, free: 1.137 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.4959, allocations: 8 kB / 1.42 GB, free: 1.129 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.4964, allocations: 51.94 kB / 1.42 GB, free: 1.078 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4965, allocations: 31.89 kB / 1.42 GB, free: 1.047 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/0.4966, allocations: 15.98 kB / 1.42 GB, free: 1.031 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007861/0.4974, allocations: 0.5887 MB / 1.42 GB, free: 444 kB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.4974, allocations: 0 / 1.42 GB, free: 444 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.001114/0.4985, allocations: 398.8 kB / 1.421 GB, free: 44 kB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007047/0.4992, allocations: 392.7 kB / 1.421 GB, free: 15.65 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.5008, allocations: 0.5401 MB / 1.421 GB, free: 15.11 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5008, allocations: 4 kB / 1.421 GB, free: 15.11 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000804/0.5016, allocations: 276.7 kB / 1.422 GB, free: 14.84 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.5036, allocations: 442.1 kB / 1.422 GB, free: 14.42 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.5068, allocations: 1.865 MB / 1.424 GB, free: 12.5 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.5073, allocations: 0.5056 MB / 1.424 GB, free: 11.96 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.5075, allocations: 63.42 kB / 1.425 GB, free: 11.9 MB / 1.123 GB Notification: Performance of SimCode: time 1.132e-06/0.5075, allocations: 4 kB / 1.425 GB, free: 11.9 MB / 1.123 GB Notification: Performance of Templates: time 0.03902/0.5465, allocations: 31.7 MB / 1.456 GB, free: 12.31 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.090077443048358]