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.002056/0.002056, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001682/0.001682, allocations: 212.2 kB / 22.24 MB, free: 5.262 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.621/1.621, allocations: 230.6 MB / 256 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.462/3.462, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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.002138/0.002138, allocations: 69.8 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4802, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05857/0.5388, allocations: 45.88 MB / 1.37 GB, free: 3.902 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02261/0.5614, allocations: 11.88 MB / 1.382 GB, free: 8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/0.5653, allocations: 111.1 kB / 1.382 GB, free: 7.891 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002853/0.5681, allocations: 0.7488 MB / 1.383 GB, free: 7.137 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006768/0.5749, allocations: 1.944 MB / 1.385 GB, free: 5.184 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004599/0.5795, allocations: 1.393 MB / 1.386 GB, free: 3.809 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006046/0.5855, allocations: 3.287 MB / 1.389 GB, free: 0.5039 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/0.5878, allocations: 0.9581 MB / 1.39 GB, free: 15.51 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006298/0.5941, allocations: 1.539 MB / 1.392 GB, free: 13.97 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.5971, allocations: 0.9173 MB / 1.393 GB, free: 13.05 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008435/0.598, allocations: 96 kB / 1.393 GB, free: 12.96 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.602, allocations: 0.8888 MB / 1.394 GB, free: 12.07 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007394/0.6028, allocations: 310.6 kB / 1.394 GB, free: 11.76 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.6045, allocations: 0.5442 MB / 1.394 GB, free: 11.21 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005608/0.6101, allocations: 2.035 MB / 1.396 GB, free: 9.172 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6101, allocations: 3.938 kB / 1.396 GB, free: 9.168 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.414e-06/0.6101, allocations: 0 / 1.396 GB, free: 9.168 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.593e-05/0.6102, allocations: 0 / 1.396 GB, free: 9.168 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.003702/0.6139, allocations: 1.667 MB / 1.398 GB, free: 7.461 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.6139, allocations: 12.03 kB / 1.398 GB, free: 7.449 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/0.6147, allocations: 223.9 kB / 1.398 GB, free: 7.23 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/0.617, allocations: 1.033 MB / 1.399 GB, free: 6.148 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.6171, allocations: 62.38 kB / 1.399 GB, free: 6.09 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.6172, allocations: 87.94 kB / 1.399 GB, free: 6.004 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.6192, allocations: 1.137 MB / 1.4 GB, free: 4.754 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.6192, allocations: 0 / 1.4 GB, free: 4.754 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.27e-05/0.6193, allocations: 36 kB / 1.401 GB, free: 4.719 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.6193, allocations: 24 kB / 1.401 GB, free: 4.695 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.6208, allocations: 0.6438 MB / 1.401 GB, free: 4.051 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.00546/0.6263, allocations: 3.8 MB / 1.405 GB, free: 128 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.6275, allocations: 370.6 kB / 1.405 GB, free: 15.75 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.628, allocations: 200.7 kB / 1.405 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/0.6285, allocations: 107.9 kB / 1.406 GB, free: 15.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.6285, allocations: 42.5 kB / 1.406 GB, free: 15.4 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 2.404e-06/0.6285, allocations: 0 / 1.406 GB, free: 15.4 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.002949/0.6315, allocations: 0.8361 MB / 1.406 GB, free: 14.55 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.6315, allocations: 55.41 kB / 1.406 GB, free: 14.48 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.6328, allocations: 0.8759 MB / 1.407 GB, free: 13.59 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/0.6328, allocations: 41.64 kB / 1.407 GB, free: 13.54 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005422/0.6334, allocations: 0.605 MB / 1.408 GB, free: 12.93 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.6335, allocations: 107.1 kB / 1.408 GB, free: 12.82 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.6337, allocations: 114 kB / 1.408 GB, free: 12.7 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.6339, allocations: 330 kB / 1.408 GB, free: 12.38 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/0.6344, allocations: 200.8 kB / 1.409 GB, free: 12.18 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000869/0.6353, allocations: 0.543 MB / 1.409 GB, free: 11.51 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.6365, allocations: 0.6059 MB / 1.41 GB, free: 10.82 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6365, allocations: 8 kB / 1.41 GB, free: 10.81 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001726/0.6382, allocations: 0.7451 MB / 1.41 GB, free: 10.05 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.6383, allocations: 8 kB / 1.41 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.6383, allocations: 8 kB / 1.411 GB, free: 10.03 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007164/0.639, allocations: 158.9 kB / 1.411 GB, free: 9.867 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.6396, allocations: 139.8 kB / 1.411 GB, free: 9.73 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.6409, allocations: 1.727 MB / 1.412 GB, free: 7.926 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006831/0.6416, allocations: 75.59 kB / 1.413 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.6416, allocations: 27.98 kB / 1.413 GB, free: 7.824 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.0005106/0.6422, allocations: 271.1 kB / 1.413 GB, free: 7.551 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.6423, allocations: 107.5 kB / 1.413 GB, free: 7.445 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.6441, allocations: 0.7066 MB / 1.414 GB, free: 6.723 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.6442, allocations: 8 kB / 1.414 GB, free: 6.715 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6442, allocations: 3.984 kB / 1.414 GB, free: 6.711 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.6442, allocations: 7.938 kB / 1.414 GB, free: 6.703 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002801/0.647, allocations: 1.443 MB / 1.415 GB, free: 5.199 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.647, allocations: 0 / 1.415 GB, free: 5.199 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.6475, allocations: 96.03 kB / 1.415 GB, free: 5.105 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005607/0.648, allocations: 146.6 kB / 1.415 GB, free: 4.953 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.6481, allocations: 12 kB / 1.415 GB, free: 4.941 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.6493, allocations: 1.715 MB / 1.417 GB, free: 3.148 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6493, allocations: 0 / 1.417 GB, free: 3.148 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.6509, allocations: 0.7804 MB / 1.418 GB, free: 2.324 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004286/0.6514, allocations: 167.2 kB / 1.418 GB, free: 2.16 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.6515, allocations: 8 kB / 1.418 GB, free: 2.152 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.652, allocations: 39.95 kB / 1.418 GB, free: 2.113 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.6521, allocations: 39.81 kB / 1.418 GB, free: 2.074 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/0.6521, allocations: 27.98 kB / 1.418 GB, free: 2.047 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008161/0.653, allocations: 0.577 MB / 1.419 GB, free: 1.461 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.653, allocations: 3.938 kB / 1.419 GB, free: 1.457 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001225/0.6542, allocations: 406.7 kB / 1.419 GB, free: 1.059 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.0007038/0.6549, allocations: 385.3 kB / 1.419 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.6565, allocations: 0.5323 MB / 1.42 GB, free: 148 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6565, allocations: 0 / 1.42 GB, free: 148 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.6573, allocations: 284.2 kB / 1.42 GB, free: 15.87 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.6594, allocations: 454.1 kB / 1.421 GB, free: 15.44 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.6628, allocations: 1.828 MB / 1.422 GB, free: 13.57 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/0.6634, allocations: 0.5173 MB / 1.423 GB, free: 13.02 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006025/0.664, allocations: 171.1 kB / 1.423 GB, free: 12.84 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.6641, allocations: 55.44 kB / 1.423 GB, free: 12.79 MB / 1.123 GB Notification: Performance of SimCode: time 1.333e-06/0.6641, allocations: 0 / 1.423 GB, free: 12.79 MB / 1.123 GB Notification: Performance of Templates: time 0.03801/0.7021, allocations: 20.75 MB / 1.443 GB, free: 8.438 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 -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/jenkins/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: 10.844666317105293]