Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00172/0.00172, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.001981/0.001981, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.932/2.932, allocations: 0.49 GB / 0.7923 GB, free: 1.453 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.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_12_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_12_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.002073/0.002073, allocations: 77.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.02552/1.066, allocations: 29.35 MB / 1.351 GB, free: 4.043 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009783/1.076, allocations: 6.836 MB / 1.357 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/1.077, allocations: 55.88 kB / 1.357 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/1.079, allocations: 417.4 kB / 1.358 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00473/1.084, allocations: 1.373 MB / 1.359 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002314/1.086, allocations: 0.6448 MB / 1.36 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004245/1.09, allocations: 2.179 MB / 1.362 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/1.091, allocations: 487.4 kB / 1.362 GB, free: 12.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/1.094, allocations: 0.9824 MB / 1.363 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/1.095, allocations: 0.5328 MB / 1.364 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/1.095, allocations: 45.19 kB / 1.364 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/1.097, allocations: 1.006 MB / 1.365 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002354/1.098, allocations: 155.4 kB / 1.365 GB, free: 11.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005562/1.098, allocations: 383.3 kB / 1.365 GB, free: 11.28 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/1.101, allocations: 1.249 MB / 1.367 GB, free: 10.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.101, allocations: 0 / 1.367 GB, free: 10.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.284e-06/1.101, allocations: 1.25 kB / 1.367 GB, free: 10.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.696e-05/1.101, allocations: 0 / 1.367 GB, free: 10.82 MB / 1.076 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.002401/1.104, allocations: 1.184 MB / 1.368 GB, free: 9.934 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/1.104, allocations: 12.47 kB / 1.368 GB, free: 9.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/1.104, allocations: 92.84 kB / 1.368 GB, free: 9.883 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/1.106, allocations: 0.8081 MB / 1.369 GB, free: 9.391 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/1.106, allocations: 25.25 kB / 1.369 GB, free: 9.379 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/1.106, allocations: 38.53 kB / 1.369 GB, free: 9.367 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006458/1.106, allocations: 321 kB / 1.369 GB, free: 9.238 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.106, allocations: 3.938 kB / 1.369 GB, free: 9.234 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.426e-05/1.106, allocations: 14.75 kB / 1.369 GB, free: 9.223 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/1.106, allocations: 12.5 kB / 1.369 GB, free: 9.219 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/1.107, allocations: 239.5 kB / 1.369 GB, free: 9.148 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/1.109, allocations: 1.453 MB / 1.371 GB, free: 8.145 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/1.11, allocations: 138.5 kB / 1.371 GB, free: 8.082 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/1.11, allocations: 106 kB / 1.371 GB, free: 8.043 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007601/1.111, allocations: 0.8216 MB / 1.372 GB, free: 7.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.111, allocations: 40.25 kB / 1.372 GB, free: 7.043 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/1.111, allocations: 0 / 1.372 GB, free: 7.043 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0006953/1.111, allocations: 314.9 kB / 1.372 GB, free: 6.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/1.111, allocations: 53.98 kB / 1.372 GB, free: 6.848 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/1.112, allocations: 0.7383 MB / 1.373 GB, free: 6.527 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/1.112, allocations: 28.11 kB / 1.373 GB, free: 6.496 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/1.113, allocations: 376.8 kB / 1.373 GB, free: 6.195 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/1.113, allocations: 72.02 kB / 1.373 GB, free: 6.141 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/1.113, allocations: 99.2 kB / 1.373 GB, free: 6.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.113, allocations: 324.1 kB / 1.374 GB, free: 5.777 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/1.113, allocations: 108.7 kB / 1.374 GB, free: 5.738 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/1.114, allocations: 277.5 kB / 1.374 GB, free: 5.504 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/1.114, allocations: 345.7 kB / 1.374 GB, free: 5.254 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.114, allocations: 0 / 1.374 GB, free: 5.254 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008192/1.115, allocations: 447.6 kB / 1.375 GB, free: 5.066 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.115, allocations: 10.59 kB / 1.375 GB, free: 5.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.115, allocations: 16.55 kB / 1.375 GB, free: 5.051 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/1.115, allocations: 6.719 kB / 1.375 GB, free: 5.051 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005515/1.121, allocations: 0.7787 MB / 1.376 GB, free: 5.012 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009989/1.122, allocations: 1.206 MB / 1.377 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/1.123, allocations: 45.97 kB / 1.377 GB, free: 3.785 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/1.123, allocations: 20.83 kB / 1.377 GB, free: 3.785 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004757/1.123, allocations: 249 kB / 1.377 GB, free: 3.641 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003932/1.123, allocations: 290.6 kB / 1.377 GB, free: 3.387 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004991/1.124, allocations: 346 kB / 1.378 GB, free: 3.125 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.228e-06/1.124, allocations: 1.156 kB / 1.378 GB, free: 3.125 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0009042/1.125, allocations: 439.7 kB / 1.378 GB, free: 2.941 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.125, allocations: 11.81 kB / 1.378 GB, free: 2.938 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.125, allocations: 5.188 kB / 1.378 GB, free: 2.938 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.125, allocations: 10.66 kB / 1.378 GB, free: 2.934 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/1.13, allocations: 0.7767 MB / 1.379 GB, free: 2.895 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009601/1.131, allocations: 1.215 MB / 1.38 GB, free: 1.688 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/1.132, allocations: 36.73 kB / 1.38 GB, free: 1.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/1.132, allocations: 23.94 kB / 1.38 GB, free: 1.664 MB / 1.076 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.0002547/1.132, allocations: 212.8 kB / 1.38 GB, free: 1.461 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.133, allocations: 78.11 kB / 1.38 GB, free: 1.418 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007891/1.133, allocations: 384.6 kB / 1.381 GB, free: 1.234 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.133, allocations: 4.219 kB / 1.381 GB, free: 1.234 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.133, allocations: 5.125 kB / 1.381 GB, free: 1.23 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.133, allocations: 0.7969 kB / 1.381 GB, free: 1.23 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/1.135, allocations: 1.008 MB / 1.382 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.135, allocations: 2.625 kB / 1.382 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/1.135, allocations: 28.7 kB / 1.382 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/1.135, allocations: 2.594 kB / 1.382 GB, free: 0.6133 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/1.135, allocations: 9.438 kB / 1.382 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.135, allocations: 15.16 kB / 1.382 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.135, allocations: 7.938 kB / 1.382 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/1.136, allocations: 471.1 kB / 1.382 GB, free: 276 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/1.136, allocations: 180.9 kB / 1.382 GB, free: 116 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.947e-05/1.136, allocations: 4.375 kB / 1.382 GB, free: 116 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/1.137, allocations: 11.62 kB / 1.382 GB, free: 112 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/1.137, allocations: 22.61 kB / 1.382 GB, free: 104 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/1.137, allocations: 13.97 kB / 1.382 GB, free: 100 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008098/1.137, allocations: 0.5066 MB / 1.383 GB, free: 15.88 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.137, allocations: 1.312 kB / 1.383 GB, free: 15.88 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001594/1.139, allocations: 391.2 kB / 1.383 GB, free: 15.79 MB / 1.092 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.0009133/1.14, allocations: 373.2 kB / 1.384 GB, free: 15.6 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01586/1.156, allocations: 2.419 MB / 1.386 GB, free: 15.37 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.156, allocations: 1.094 kB / 1.386 GB, free: 15.37 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/1.156, allocations: 115.3 kB / 1.386 GB, free: 15.33 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.158, allocations: 297.8 kB / 1.386 GB, free: 15.23 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/1.16, allocations: 1.136 MB / 1.388 GB, free: 14.54 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/1.16, allocations: 0.9231 MB / 1.388 GB, free: 13.82 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/1.161, allocations: 53.44 kB / 1.388 GB, free: 13.82 MB / 1.092 GB Notification: Performance of SimCode: time 9.01e-07/1.161, allocations: 0 / 1.388 GB, free: 13.82 MB / 1.092 GB Notification: Performance of Templates: time 0.02835/1.189, allocations: 15.05 MB / 1.403 GB, free: 9.801 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; mkfifo Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe >> ../files/Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.sim & ./Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Networks.Pipes.Validation.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Networks_Pipes_Validation_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.94829051400302]