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.0016/0.0016, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001781/0.001781, allocations: 220.4 kB / 23 MB, free: 4.914 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.182/3.182, allocations: 0.4892 GB / 0.7951 GB, free: 35.45 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.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.002115/0.002115, allocations: 76.92 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3799, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05852/0.4384, allocations: 45.88 MB / 1.371 GB, free: 3.816 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.4611, allocations: 11.89 MB / 1.383 GB, free: 7.906 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003484/0.4645, allocations: 111.1 kB / 1.383 GB, free: 7.797 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.4674, allocations: 0.7488 MB / 1.384 GB, free: 7.043 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006814/0.4742, allocations: 1.948 MB / 1.385 GB, free: 5.086 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004353/0.4785, allocations: 1.38 MB / 1.387 GB, free: 3.719 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005608/0.4842, allocations: 3.294 MB / 1.39 GB, free: 424 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.4861, allocations: 0.9698 MB / 1.391 GB, free: 15.41 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/0.4904, allocations: 1.528 MB / 1.392 GB, free: 13.88 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.4924, allocations: 0.9056 MB / 1.393 GB, free: 12.97 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.4926, allocations: 99.94 kB / 1.393 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.495, allocations: 0.8889 MB / 1.394 GB, free: 11.98 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003907/0.4954, allocations: 306.6 kB / 1.395 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008252/0.4963, allocations: 0.548 MB / 1.395 GB, free: 11.13 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.5001, allocations: 2.035 MB / 1.397 GB, free: 9.09 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5001, allocations: 4 kB / 1.397 GB, free: 9.086 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.126e-06/0.5001, allocations: 0 / 1.397 GB, free: 9.086 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.787e-05/0.5001, allocations: 0 / 1.397 GB, free: 9.086 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.003017/0.5031, allocations: 1.678 MB / 1.399 GB, free: 7.367 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5032, allocations: 8.031 kB / 1.399 GB, free: 7.359 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000729/0.5039, allocations: 223.9 kB / 1.399 GB, free: 7.141 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.5061, allocations: 1.025 MB / 1.4 GB, free: 6.066 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.5062, allocations: 66.38 kB / 1.4 GB, free: 6.004 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.5063, allocations: 87.94 kB / 1.4 GB, free: 5.918 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.5082, allocations: 1.129 MB / 1.401 GB, free: 4.676 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.5082, allocations: 0 / 1.401 GB, free: 4.676 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.5083, allocations: 44 kB / 1.401 GB, free: 4.633 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.5083, allocations: 20 kB / 1.401 GB, free: 4.613 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.5099, allocations: 0.6555 MB / 1.402 GB, free: 3.957 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.005469/0.5153, allocations: 3.8 MB / 1.406 GB, free: 32 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.5165, allocations: 370.6 kB / 1.406 GB, free: 15.66 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.517, allocations: 204.6 kB / 1.406 GB, free: 15.46 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004113/0.5174, allocations: 103.9 kB / 1.406 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.5175, allocations: 34.56 kB / 1.406 GB, free: 15.31 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 3.146e-06/0.5175, allocations: 4 kB / 1.406 GB, free: 15.31 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.002851/0.5203, allocations: 0.84 MB / 1.407 GB, free: 14.45 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.5204, allocations: 55.34 kB / 1.407 GB, free: 14.39 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.5216, allocations: 0.8759 MB / 1.408 GB, free: 13.49 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.5216, allocations: 33.7 kB / 1.408 GB, free: 13.45 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005139/0.5221, allocations: 0.6089 MB / 1.409 GB, free: 12.84 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.5223, allocations: 111.1 kB / 1.409 GB, free: 12.73 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.5225, allocations: 118.1 kB / 1.409 GB, free: 12.61 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5226, allocations: 322 kB / 1.409 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.5232, allocations: 196.8 kB / 1.409 GB, free: 12.09 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008211/0.524, allocations: 0.5507 MB / 1.41 GB, free: 11.42 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.5252, allocations: 0.5982 MB / 1.411 GB, free: 10.73 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5252, allocations: 0 / 1.411 GB, free: 10.73 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001742/0.527, allocations: 0.7494 MB / 1.411 GB, free: 9.965 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.527, allocations: 8 kB / 1.411 GB, free: 9.957 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.527, allocations: 4 kB / 1.411 GB, free: 9.953 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006981/0.5277, allocations: 158.6 kB / 1.411 GB, free: 9.789 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.5283, allocations: 151.8 kB / 1.412 GB, free: 9.641 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.5296, allocations: 1.712 MB / 1.413 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/0.5303, allocations: 83.77 kB / 1.413 GB, free: 7.77 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.5303, allocations: 28 kB / 1.413 GB, free: 7.742 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.0004889/0.5308, allocations: 265.6 kB / 1.414 GB, free: 7.473 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.531, allocations: 103.3 kB / 1.414 GB, free: 7.371 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.5328, allocations: 0.7224 MB / 1.414 GB, free: 6.629 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.5328, allocations: 4 kB / 1.414 GB, free: 6.625 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5328, allocations: 0 / 1.414 GB, free: 6.625 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5329, allocations: 7.938 kB / 1.414 GB, free: 6.617 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.5357, allocations: 1.442 MB / 1.416 GB, free: 5.113 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.5358, allocations: 7.938 kB / 1.416 GB, free: 5.105 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.5362, allocations: 92.02 kB / 1.416 GB, free: 5.016 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/0.5368, allocations: 142.5 kB / 1.416 GB, free: 4.867 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.5368, allocations: 16.05 kB / 1.416 GB, free: 4.852 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.5381, allocations: 1.72 MB / 1.418 GB, free: 3.055 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.5381, allocations: 4.031 kB / 1.418 GB, free: 3.051 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5398, allocations: 0.7804 MB / 1.419 GB, free: 2.227 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.5403, allocations: 163.2 kB / 1.419 GB, free: 2.066 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.786e-05/0.5404, allocations: 8 kB / 1.419 GB, free: 2.059 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005445/0.5409, allocations: 51.94 kB / 1.419 GB, free: 2.008 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.541, allocations: 35.83 kB / 1.419 GB, free: 1.973 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.541, allocations: 19.98 kB / 1.419 GB, free: 1.953 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008368/0.5419, allocations: 0.5731 MB / 1.419 GB, free: 1.371 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5419, allocations: 0 / 1.419 GB, free: 1.371 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001197/0.5431, allocations: 402.8 kB / 1.42 GB, free: 0.9766 MB / 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.0007218/0.5438, allocations: 390.2 kB / 1.42 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001625/0.5454, allocations: 0.5401 MB / 1.421 GB, free: 52 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5454, allocations: 0 / 1.421 GB, free: 52 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0008425/0.5463, allocations: 280.7 kB / 1.421 GB, free: 15.78 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.5483, allocations: 446.9 kB / 1.421 GB, free: 15.36 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.5517, allocations: 1.862 MB / 1.423 GB, free: 13.44 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.5522, allocations: 0.5095 MB / 1.424 GB, free: 12.9 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.5524, allocations: 67.42 kB / 1.424 GB, free: 12.83 MB / 1.123 GB Notification: Performance of SimCode: time 8.22e-07/0.5524, allocations: 0 / 1.424 GB, free: 12.83 MB / 1.123 GB Notification: Performance of Templates: time 0.04122/0.5937, allocations: 31.7 MB / 1.455 GB, free: 13.24 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.766226712148637]