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.001752/0.001752, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002423/0.002423, allocations: 219.3 kB / 23.01 MB, free: 4.609 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.32/3.32, allocations: 0.505 GB / 0.8108 GB, free: 22.1 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.002065/0.002065, allocations: 62.27 kB / 1.178 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 180.2 MB / 1.354 GB, free: 8.047 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03591/0.4102, allocations: 29.63 MB / 1.383 GB, free: 10.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01188/0.4221, allocations: 6.854 MB / 1.39 GB, free: 3.438 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.4233, allocations: 51.56 kB / 1.39 GB, free: 3.387 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.4246, allocations: 437 kB / 1.39 GB, free: 2.957 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.4288, allocations: 1.386 MB / 1.392 GB, free: 1.566 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.4309, allocations: 0.6707 MB / 1.392 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003827/0.4347, allocations: 2.239 MB / 1.394 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/0.4355, allocations: 461.5 kB / 1.395 GB, free: 14.18 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.4378, allocations: 0.996 MB / 1.396 GB, free: 13.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009467/0.4387, allocations: 0.5365 MB / 1.396 GB, free: 12.64 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.4388, allocations: 40 kB / 1.396 GB, free: 12.61 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.4414, allocations: 1.014 MB / 1.397 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.4416, allocations: 163.2 kB / 1.397 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004826/0.4421, allocations: 373.9 kB / 1.398 GB, free: 11.06 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.4446, allocations: 1.253 MB / 1.399 GB, free: 9.805 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4446, allocations: 3.984 kB / 1.399 GB, free: 9.801 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4446, allocations: 0 / 1.399 GB, free: 9.801 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.4446, allocations: 4 kB / 1.399 GB, free: 9.797 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.002012/0.4466, allocations: 1.106 MB / 1.4 GB, free: 8.656 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4467, allocations: 15.97 kB / 1.4 GB, free: 8.641 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.4469, allocations: 92.38 kB / 1.4 GB, free: 8.551 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.4486, allocations: 0.7209 MB / 1.401 GB, free: 7.797 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.4486, allocations: 32.98 kB / 1.401 GB, free: 7.766 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.4487, allocations: 36 kB / 1.401 GB, free: 7.73 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.4494, allocations: 322.4 kB / 1.401 GB, free: 7.414 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4494, allocations: 4 kB / 1.401 GB, free: 7.41 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.4494, allocations: 12 kB / 1.401 GB, free: 7.398 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.4494, allocations: 8 kB / 1.401 GB, free: 7.391 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.4499, allocations: 243.9 kB / 1.402 GB, free: 7.148 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.4522, allocations: 1.419 MB / 1.403 GB, free: 5.613 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.4525, allocations: 138.5 kB / 1.403 GB, free: 5.469 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4526, allocations: 104.7 kB / 1.403 GB, free: 5.363 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.4529, allocations: 79.94 kB / 1.403 GB, free: 5.285 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.4529, allocations: 30.56 kB / 1.403 GB, free: 5.246 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.4529, allocations: 0 / 1.403 GB, free: 5.246 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.0006444/0.4536, allocations: 311.4 kB / 1.404 GB, free: 4.938 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.4536, allocations: 63.39 kB / 1.404 GB, free: 4.863 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.4546, allocations: 0.7353 MB / 1.404 GB, free: 4.117 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.4547, allocations: 33.7 kB / 1.404 GB, free: 4.078 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.455, allocations: 368.2 kB / 1.405 GB, free: 3.715 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.4551, allocations: 79.33 kB / 1.405 GB, free: 3.637 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4553, allocations: 98.06 kB / 1.405 GB, free: 3.535 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.4555, allocations: 322 kB / 1.405 GB, free: 3.215 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.4557, allocations: 114.5 kB / 1.405 GB, free: 3.102 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.4561, allocations: 272 kB / 1.406 GB, free: 2.762 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.4565, allocations: 348 kB / 1.406 GB, free: 2.363 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4565, allocations: 0 / 1.406 GB, free: 2.363 MB / 1.092 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007609/0.4573, allocations: 453 kB / 1.406 GB, free: 1.914 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4573, allocations: 8 kB / 1.406 GB, free: 1.906 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.4573, allocations: 11.88 kB / 1.406 GB, free: 1.895 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4574, allocations: 8 kB / 1.406 GB, free: 1.887 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/0.4633, allocations: 0.7725 MB / 1.407 GB, free: 1.113 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009182/0.4642, allocations: 1.211 MB / 1.408 GB, free: 15.86 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005361/0.4647, allocations: 47.72 kB / 1.408 GB, free: 15.81 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.4648, allocations: 27.98 kB / 1.408 GB, free: 15.78 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004201/0.4652, allocations: 249.5 kB / 1.409 GB, free: 15.54 MB / 1.108 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003575/0.4656, allocations: 281.9 kB / 1.409 GB, free: 15.19 MB / 1.108 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005428/0.4661, allocations: 353.6 kB / 1.409 GB, free: 14.78 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.129e-06/0.4661, allocations: 4 kB / 1.409 GB, free: 14.77 MB / 1.108 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008416/0.467, allocations: 445.2 kB / 1.41 GB, free: 14.33 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.467, allocations: 8 kB / 1.41 GB, free: 14.32 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.467, allocations: 4 kB / 1.41 GB, free: 14.32 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.467, allocations: 8 kB / 1.41 GB, free: 14.31 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005624/0.4726, allocations: 0.7803 MB / 1.41 GB, free: 13.53 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008713/0.4735, allocations: 1.207 MB / 1.412 GB, free: 12.28 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.474, allocations: 35.83 kB / 1.412 GB, free: 12.24 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.474, allocations: 20 kB / 1.412 GB, free: 12.22 MB / 1.108 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.0002216/0.4743, allocations: 224.2 kB / 1.412 GB, free: 12 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4744, allocations: 71.53 kB / 1.412 GB, free: 11.93 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.4751, allocations: 397.3 kB / 1.412 GB, free: 11.52 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.4752, allocations: 4 kB / 1.412 GB, free: 11.52 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4752, allocations: 3.938 kB / 1.412 GB, free: 11.51 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4752, allocations: 0 / 1.412 GB, free: 11.51 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.4768, allocations: 0.9894 MB / 1.413 GB, free: 10.45 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4768, allocations: 4 kB / 1.413 GB, free: 10.45 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.4769, allocations: 31.92 kB / 1.413 GB, free: 10.41 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.4769, allocations: 4 kB / 1.413 GB, free: 10.41 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.4769, allocations: 12.25 kB / 1.413 GB, free: 10.4 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4769, allocations: 0 / 1.413 GB, free: 10.4 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4769, allocations: 4 kB / 1.413 GB, free: 10.39 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.4775, allocations: 477.6 kB / 1.414 GB, free: 9.887 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.4778, allocations: 99.38 kB / 1.414 GB, free: 9.789 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.4779, allocations: 8 kB / 1.414 GB, free: 9.781 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.4781, allocations: 15.92 kB / 1.414 GB, free: 9.766 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.4782, allocations: 23.91 kB / 1.414 GB, free: 9.742 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.4782, allocations: 12 kB / 1.414 GB, free: 9.73 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0006994/0.4789, allocations: 0.5107 MB / 1.414 GB, free: 9.223 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4789, allocations: 3.938 kB / 1.414 GB, free: 9.219 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.00124/0.4801, allocations: 395.1 kB / 1.415 GB, free: 8.832 MB / 1.108 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.0006711/0.4808, allocations: 366.4 kB / 1.415 GB, free: 8.465 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.01651/0.4973, allocations: 2.42 MB / 1.418 GB, free: 6.043 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.4973, allocations: 0 / 1.418 GB, free: 6.043 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.4976, allocations: 116.8 kB / 1.418 GB, free: 5.93 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.4991, allocations: 292.8 kB / 1.418 GB, free: 5.652 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.5012, allocations: 1.142 MB / 1.419 GB, free: 4.445 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/0.5018, allocations: 0.9256 MB / 1.42 GB, free: 3.492 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.5019, allocations: 51.44 kB / 1.42 GB, free: 3.441 MB / 1.108 GB Notification: Performance of SimCode: time 1.082e-06/0.5019, allocations: 0 / 1.42 GB, free: 3.441 MB / 1.108 GB Notification: Performance of Templates: time 0.02419/0.5261, allocations: 15.06 MB / 1.435 GB, free: 4.469 MB / 1.123 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/jenkins1/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: 13.617270588001702]