Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.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.001322/0.001322, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001481/0.001481, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.412/3.412, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") translateModel(Buildings.DHC.Networks.Pipes.Validation.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pipSta1.dh|pipAut1.dh|pipSta2.dh|pipAut2.dh|pipSta1.dp|pipAut1.dp|pipSta2.dp|pipAut2.dp",fileNamePrefix="Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe") [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.002045/0.002045, allocations: 70.3 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3661, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03573/0.4018, allocations: 26.82 MB / 1.39 GB, free: 2.664 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.4138, allocations: 6.317 MB / 1.396 GB, free: 12.33 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.4152, allocations: 51.56 kB / 1.396 GB, free: 12.28 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.4167, allocations: 409.1 kB / 1.397 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.4215, allocations: 1.379 MB / 1.398 GB, free: 10.5 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.4236, allocations: 0.6413 MB / 1.399 GB, free: 9.855 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003948/0.4276, allocations: 2.236 MB / 1.401 GB, free: 7.617 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.4287, allocations: 449.6 kB / 1.401 GB, free: 7.16 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.4315, allocations: 1.168 MB / 1.402 GB, free: 5.988 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.4326, allocations: 0.4936 MB / 1.403 GB, free: 5.492 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.4328, allocations: 36 kB / 1.403 GB, free: 5.457 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.4347, allocations: 0.7018 MB / 1.404 GB, free: 4.754 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.435, allocations: 155.2 kB / 1.404 GB, free: 4.602 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005655/0.4356, allocations: 294.4 kB / 1.404 GB, free: 4.312 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.438, allocations: 1.152 MB / 1.405 GB, free: 3.156 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.438, allocations: 0 / 1.405 GB, free: 3.156 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.284e-06/0.438, allocations: 0 / 1.405 GB, free: 3.156 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.846e-05/0.4381, allocations: 0 / 1.405 GB, free: 3.156 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0022/0.4403, allocations: 1.071 MB / 1.406 GB, free: 2.051 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4403, allocations: 12.03 kB / 1.406 GB, free: 2.039 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.4406, allocations: 96.33 kB / 1.406 GB, free: 1.945 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.4425, allocations: 0.7013 MB / 1.407 GB, free: 1.211 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.4425, allocations: 33 kB / 1.407 GB, free: 1.18 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.4426, allocations: 36 kB / 1.407 GB, free: 1.145 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.4432, allocations: 318.5 kB / 1.407 GB, free: 0.832 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4432, allocations: 3.938 kB / 1.407 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.4432, allocations: 16 kB / 1.407 GB, free: 0.8125 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.4432, allocations: 11.98 kB / 1.407 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.4437, allocations: 235.8 kB / 1.408 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.4457, allocations: 0.9275 MB / 1.408 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.446, allocations: 130.5 kB / 1.409 GB, free: 15.47 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4461, allocations: 96.8 kB / 1.409 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.4464, allocations: 79.94 kB / 1.409 GB, free: 15.29 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4465, allocations: 30.56 kB / 1.409 GB, free: 15.25 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/0.4465, allocations: 4 kB / 1.409 GB, free: 15.25 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.0006403/0.4471, allocations: 313.3 kB / 1.409 GB, free: 14.94 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.4472, allocations: 55.41 kB / 1.409 GB, free: 14.87 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/0.448, allocations: 0.653 MB / 1.41 GB, free: 14.21 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.448, allocations: 29.7 kB / 1.41 GB, free: 14.18 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.4484, allocations: 380.3 kB / 1.41 GB, free: 13.8 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.4484, allocations: 71.36 kB / 1.41 GB, free: 13.73 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.4486, allocations: 102 kB / 1.41 GB, free: 13.62 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.4488, allocations: 374.8 kB / 1.411 GB, free: 13.24 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.449, allocations: 102.5 kB / 1.411 GB, free: 13.14 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.4496, allocations: 0.5746 MB / 1.411 GB, free: 12.43 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.4501, allocations: 343.8 kB / 1.412 GB, free: 12.04 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4501, allocations: 0 / 1.412 GB, free: 12.04 MB / 1.107 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007591/0.4508, allocations: 433 kB / 1.412 GB, free: 11.61 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4509, allocations: 8.062 kB / 1.412 GB, free: 11.6 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4509, allocations: 8 kB / 1.412 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4509, allocations: 7.938 kB / 1.412 GB, free: 11.58 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006201/0.4571, allocations: 0.9401 MB / 1.413 GB, free: 10.64 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009363/0.458, allocations: 1.195 MB / 1.414 GB, free: 9.398 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.4585, allocations: 35.73 kB / 1.414 GB, free: 9.363 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.4586, allocations: 20 kB / 1.414 GB, free: 9.344 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004399/0.459, allocations: 248.9 kB / 1.415 GB, free: 9.094 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005261/0.4595, allocations: 0.5804 MB / 1.415 GB, free: 8.363 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004859/0.46, allocations: 349.8 kB / 1.415 GB, free: 7.957 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.46, allocations: 0 / 1.415 GB, free: 7.957 MB / 1.107 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008021/0.4608, allocations: 437 kB / 1.416 GB, free: 7.523 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4608, allocations: 12.06 kB / 1.416 GB, free: 7.512 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4608, allocations: 4 kB / 1.416 GB, free: 7.508 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.4609, allocations: 8 kB / 1.416 GB, free: 7.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005972/0.4668, allocations: 0.9285 MB / 1.417 GB, free: 6.57 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008894/0.4677, allocations: 1.199 MB / 1.418 GB, free: 5.324 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.4682, allocations: 43.72 kB / 1.418 GB, free: 5.281 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.4682, allocations: 20 kB / 1.418 GB, free: 5.262 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.4684, allocations: 212.3 kB / 1.418 GB, free: 5.047 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.4686, allocations: 75.53 kB / 1.418 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/0.4694, allocations: 392.2 kB / 1.419 GB, free: 4.574 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.4694, allocations: 8.172 kB / 1.419 GB, free: 4.566 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4694, allocations: 0 / 1.419 GB, free: 4.566 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.4694, allocations: 7.922 kB / 1.419 GB, free: 4.559 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.4709, allocations: 0.8767 MB / 1.42 GB, free: 3.621 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.4709, allocations: 3.938 kB / 1.42 GB, free: 3.617 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.863e-05/0.471, allocations: 35.92 kB / 1.42 GB, free: 3.582 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.471, allocations: 3.984 kB / 1.42 GB, free: 3.578 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.4711, allocations: 8 kB / 1.42 GB, free: 3.57 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4711, allocations: 4 kB / 1.42 GB, free: 3.566 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4711, allocations: 7.938 kB / 1.42 GB, free: 3.559 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.4717, allocations: 457.8 kB / 1.42 GB, free: 3.07 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.4719, allocations: 91.44 kB / 1.42 GB, free: 2.98 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.828e-05/0.472, allocations: 16.02 kB / 1.42 GB, free: 2.965 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.4722, allocations: 8 kB / 1.42 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.4722, allocations: 23.91 kB / 1.42 GB, free: 2.934 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4722, allocations: 8 kB / 1.42 GB, free: 2.926 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006294/0.4729, allocations: 447 kB / 1.421 GB, free: 2.492 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/0.4729, allocations: 0 / 1.421 GB, free: 2.492 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001328/0.4742, allocations: 379 kB / 1.421 GB, free: 2.121 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0009402/0.4751, allocations: 330.3 kB / 1.421 GB, free: 1.789 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.03171/0.5068, allocations: 4.774 MB / 1.426 GB, free: 13.01 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.5069, allocations: 0 / 1.426 GB, free: 13.01 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.5071, allocations: 119.8 kB / 1.426 GB, free: 12.89 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.5087, allocations: 257.5 kB / 1.426 GB, free: 12.65 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.511, allocations: 1.184 MB / 1.427 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.5113, allocations: 329.9 kB / 1.428 GB, free: 11.07 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005819/0.5119, allocations: 181.4 kB / 1.428 GB, free: 10.89 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.512, allocations: 51.42 kB / 1.428 GB, free: 10.84 MB / 1.123 GB Notification: Performance of SimCode: time 1.002e-06/0.512, allocations: 0 / 1.428 GB, free: 10.84 MB / 1.123 GB Notification: Performance of Templates: time 0.02558/0.5376, allocations: 13.52 MB / 1.441 GB, free: 13.59 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Networks.Pipes.Validation.Pipe.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.762664033100009]