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.001325/0.001325, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001514/0.001514, allocations: 212.4 kB / 22.99 MB, free: 4.98 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002057/0.002057, allocations: 69.61 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3129, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05205/0.3649, allocations: 45.9 MB / 1.372 GB, free: 2.914 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01914/0.3841, allocations: 11.86 MB / 1.383 GB, free: 7.027 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.3864, allocations: 107.1 kB / 1.384 GB, free: 6.922 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.3884, allocations: 0.7565 MB / 1.384 GB, free: 6.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005176/0.3936, allocations: 1.948 MB / 1.386 GB, free: 4.203 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.3971, allocations: 1.412 MB / 1.388 GB, free: 2.809 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004948/0.4021, allocations: 3.307 MB / 1.391 GB, free: 15.49 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.4039, allocations: 0.9816 MB / 1.392 GB, free: 14.47 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.408, allocations: 1.538 MB / 1.393 GB, free: 12.94 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.4096, allocations: 0.9642 MB / 1.394 GB, free: 11.97 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.4098, allocations: 99.94 kB / 1.394 GB, free: 11.87 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.4119, allocations: 0.9045 MB / 1.395 GB, free: 10.96 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.4122, allocations: 306.6 kB / 1.396 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006563/0.4129, allocations: 0.5519 MB / 1.396 GB, free: 10.11 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.4158, allocations: 2.024 MB / 1.398 GB, free: 8.078 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.4158, allocations: 7.922 kB / 1.398 GB, free: 8.07 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4158, allocations: 4 kB / 1.398 GB, free: 8.066 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.555e-05/0.4159, allocations: 3.938 kB / 1.398 GB, free: 8.062 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.00283/0.4187, allocations: 1.668 MB / 1.4 GB, free: 6.355 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4187, allocations: 12.03 kB / 1.4 GB, free: 6.344 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/0.4195, allocations: 223.9 kB / 1.4 GB, free: 6.125 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.4217, allocations: 1.037 MB / 1.401 GB, free: 5.043 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.565e-05/0.4218, allocations: 74.38 kB / 1.401 GB, free: 4.973 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.4219, allocations: 87.94 kB / 1.401 GB, free: 4.887 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.4249, allocations: 1.129 MB / 1.402 GB, free: 3.645 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.4249, allocations: 3.938 kB / 1.402 GB, free: 3.641 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.425, allocations: 32 kB / 1.402 GB, free: 3.609 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.4251, allocations: 28 kB / 1.402 GB, free: 3.582 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.4275, allocations: 0.6477 MB / 1.403 GB, free: 2.934 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.007717/0.4352, allocations: 3.796 MB / 1.407 GB, free: 15.01 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.4369, allocations: 366.6 kB / 1.407 GB, free: 14.64 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000853/0.4377, allocations: 204.7 kB / 1.407 GB, free: 14.44 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005483/0.4383, allocations: 103.8 kB / 1.407 GB, free: 14.34 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.4383, allocations: 38.56 kB / 1.407 GB, free: 14.29 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/0.4383, allocations: 0 / 1.407 GB, free: 14.29 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.00432/0.4427, allocations: 0.8439 MB / 1.408 GB, free: 13.43 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.4427, allocations: 55.41 kB / 1.408 GB, free: 13.37 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.4445, allocations: 0.8759 MB / 1.409 GB, free: 12.47 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.853e-05/0.4446, allocations: 33.7 kB / 1.409 GB, free: 12.43 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/0.4453, allocations: 0.6011 MB / 1.41 GB, free: 11.82 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.4455, allocations: 111.1 kB / 1.41 GB, free: 11.71 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.4458, allocations: 114 kB / 1.41 GB, free: 11.6 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.446, allocations: 334 kB / 1.41 GB, free: 11.27 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008625/0.4469, allocations: 192.8 kB / 1.41 GB, free: 11.07 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.4481, allocations: 0.5507 MB / 1.411 GB, free: 10.4 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.4502, allocations: 0.5943 MB / 1.411 GB, free: 9.719 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.4502, allocations: 4 kB / 1.411 GB, free: 9.715 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002873/0.4531, allocations: 0.7495 MB / 1.412 GB, free: 8.949 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.4531, allocations: 13.09 kB / 1.412 GB, free: 8.938 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.4531, allocations: 8 kB / 1.412 GB, free: 8.93 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.4541, allocations: 154.4 kB / 1.412 GB, free: 8.77 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.4551, allocations: 143.8 kB / 1.412 GB, free: 8.629 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.457, allocations: 1.723 MB / 1.414 GB, free: 6.828 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.4581, allocations: 75.78 kB / 1.414 GB, free: 6.754 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/0.4582, allocations: 35.92 kB / 1.414 GB, free: 6.719 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.0006667/0.4588, allocations: 269.6 kB / 1.415 GB, free: 6.445 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.4591, allocations: 103.3 kB / 1.415 GB, free: 6.344 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/0.462, allocations: 0.7147 MB / 1.415 GB, free: 5.609 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.4621, allocations: 4 kB / 1.415 GB, free: 5.605 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.4621, allocations: 0 / 1.415 GB, free: 5.605 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4621, allocations: 7.984 kB / 1.415 GB, free: 5.598 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004466/0.4666, allocations: 1.454 MB / 1.417 GB, free: 4.082 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.4666, allocations: 0 / 1.417 GB, free: 4.082 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.4673, allocations: 83.91 kB / 1.417 GB, free: 4 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009126/0.4682, allocations: 154.6 kB / 1.417 GB, free: 3.84 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.4683, allocations: 8 kB / 1.417 GB, free: 3.832 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.47, allocations: 1.712 MB / 1.419 GB, free: 2.043 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.47, allocations: 3.984 kB / 1.419 GB, free: 2.039 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.4724, allocations: 0.7841 MB / 1.419 GB, free: 1.211 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/0.473, allocations: 167.2 kB / 1.42 GB, free: 1.047 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.4732, allocations: 8 kB / 1.42 GB, free: 1.039 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009128/0.4741, allocations: 43.95 kB / 1.42 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.4742, allocations: 31.89 kB / 1.42 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.4743, allocations: 23.97 kB / 1.42 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001297/0.4756, allocations: 0.577 MB / 1.42 GB, free: 364 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4756, allocations: 0 / 1.42 GB, free: 364 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.00175/0.4774, allocations: 398.8 kB / 1.421 GB, free: 15.96 MB / 1.123 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.001005/0.4784, allocations: 391.6 kB / 1.421 GB, free: 15.57 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002391/0.4808, allocations: 0.5323 MB / 1.422 GB, free: 15.04 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4808, allocations: 4 kB / 1.422 GB, free: 15.04 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.4821, allocations: 288.7 kB / 1.422 GB, free: 14.76 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/0.4852, allocations: 446.3 kB / 1.422 GB, free: 14.34 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/0.4899, allocations: 1.828 MB / 1.424 GB, free: 12.46 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008298/0.4908, allocations: 0.5134 MB / 1.425 GB, free: 11.91 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009496/0.4917, allocations: 167.1 kB / 1.425 GB, free: 11.75 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.4919, allocations: 63.42 kB / 1.425 GB, free: 11.68 MB / 1.123 GB Notification: Performance of SimCode: time 1.133e-06/0.4919, allocations: 0 / 1.425 GB, free: 11.68 MB / 1.123 GB Notification: Performance of Templates: time 0.05001/0.542, allocations: 20.93 MB / 1.445 GB, free: 7.156 MB / 1.139 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 -s gbode -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: 9.42975509999087]