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.001406/0.001406, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001537/0.001537, allocations: 217.2 kB / 22.99 MB, free: 4.914 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.368/3.368, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 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.002081/0.002081, allocations: 67.72 kB / 1.187 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3713, allocations: 181.9 MB / 1.365 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03637/0.4077, allocations: 26.83 MB / 1.391 GB, free: 2.844 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.4189, allocations: 6.313 MB / 1.397 GB, free: 12.52 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.4203, allocations: 59.5 kB / 1.397 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.4218, allocations: 409.1 kB / 1.397 GB, free: 12.05 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004475/0.4263, allocations: 1.375 MB / 1.399 GB, free: 10.68 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002202/0.4285, allocations: 0.642 MB / 1.399 GB, free: 10.04 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003808/0.4323, allocations: 2.236 MB / 1.402 GB, free: 7.797 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009985/0.4333, allocations: 457.5 kB / 1.402 GB, free: 7.332 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.436, allocations: 1.164 MB / 1.403 GB, free: 6.164 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000811/0.4368, allocations: 0.4897 MB / 1.404 GB, free: 5.672 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.719e-05/0.4368, allocations: 36 kB / 1.404 GB, free: 5.637 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.4385, allocations: 0.7018 MB / 1.404 GB, free: 4.934 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.4387, allocations: 155.2 kB / 1.404 GB, free: 4.781 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000383/0.4391, allocations: 294.4 kB / 1.405 GB, free: 4.492 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.4409, allocations: 1.148 MB / 1.406 GB, free: 3.34 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4409, allocations: 0 / 1.406 GB, free: 3.34 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4409, allocations: 3.938 kB / 1.406 GB, free: 3.336 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.4409, allocations: 0 / 1.406 GB, free: 3.336 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.001697/0.4426, allocations: 1.075 MB / 1.407 GB, free: 2.227 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4427, allocations: 12.03 kB / 1.407 GB, free: 2.215 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.4428, allocations: 96.33 kB / 1.407 GB, free: 2.121 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.4444, allocations: 0.7014 MB / 1.408 GB, free: 1.387 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.4444, allocations: 25 kB / 1.408 GB, free: 1.363 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.4445, allocations: 40 kB / 1.408 GB, free: 1.324 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.4451, allocations: 318.5 kB / 1.408 GB, free: 1.012 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.4451, allocations: 0 / 1.408 GB, free: 1.012 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.4451, allocations: 12 kB / 1.408 GB, free: 1 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.4451, allocations: 8 kB / 1.408 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.4456, allocations: 235.9 kB / 1.408 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.4473, allocations: 0.9351 MB / 1.409 GB, free: 15.79 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.4476, allocations: 138.4 kB / 1.409 GB, free: 15.65 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.4477, allocations: 96.8 kB / 1.409 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.448, allocations: 79.94 kB / 1.41 GB, free: 15.47 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.448, allocations: 34.56 kB / 1.41 GB, free: 15.43 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.448, allocations: 0 / 1.41 GB, free: 15.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.0006019/0.4486, allocations: 311.2 kB / 1.41 GB, free: 15.12 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.4487, allocations: 55.41 kB / 1.41 GB, free: 15.05 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008217/0.4495, allocations: 0.653 MB / 1.411 GB, free: 14.39 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.4495, allocations: 33.7 kB / 1.411 GB, free: 14.36 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.4499, allocations: 376.4 kB / 1.411 GB, free: 13.98 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-05/0.4499, allocations: 75.34 kB / 1.411 GB, free: 13.91 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.4501, allocations: 106 kB / 1.411 GB, free: 13.79 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.4503, allocations: 378.8 kB / 1.411 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.4505, allocations: 98.56 kB / 1.412 GB, free: 13.32 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.451, allocations: 0.5746 MB / 1.412 GB, free: 12.6 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.4515, allocations: 336 kB / 1.412 GB, free: 12.21 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4515, allocations: 0 / 1.412 GB, free: 12.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007153/0.4522, allocations: 433 kB / 1.413 GB, free: 11.79 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4523, allocations: 13.81 kB / 1.413 GB, free: 11.77 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4523, allocations: 4 kB / 1.413 GB, free: 11.77 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.4523, allocations: 7.938 kB / 1.413 GB, free: 11.76 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006213/0.4585, allocations: 0.9363 MB / 1.414 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.4595, allocations: 1.195 MB / 1.415 GB, free: 9.582 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.46, allocations: 35.73 kB / 1.415 GB, free: 9.547 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.46, allocations: 20 kB / 1.415 GB, free: 9.527 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000423/0.4605, allocations: 253.6 kB / 1.415 GB, free: 9.273 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005665/0.461, allocations: 0.5804 MB / 1.416 GB, free: 8.543 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004885/0.4615, allocations: 349.7 kB / 1.416 GB, free: 8.137 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.549e-06/0.4615, allocations: 7.922 kB / 1.416 GB, free: 8.129 MB / 1.107 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000754/0.4623, allocations: 433 kB / 1.417 GB, free: 7.699 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4623, allocations: 8.062 kB / 1.417 GB, free: 7.691 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.922e-06/0.4623, allocations: 4 kB / 1.417 GB, free: 7.688 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.4623, allocations: 8 kB / 1.417 GB, free: 7.68 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005926/0.4682, allocations: 0.9286 MB / 1.418 GB, free: 6.75 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009582/0.4692, allocations: 1.203 MB / 1.419 GB, free: 5.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.4696, allocations: 35.78 kB / 1.419 GB, free: 5.465 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.4697, allocations: 23.98 kB / 1.419 GB, free: 5.441 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.0002322/0.4699, allocations: 212.3 kB / 1.419 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.47, allocations: 79.52 kB / 1.419 GB, free: 5.148 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007446/0.4708, allocations: 392.5 kB / 1.419 GB, free: 4.75 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.4708, allocations: 4 kB / 1.419 GB, free: 4.746 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4708, allocations: 0 / 1.419 GB, free: 4.746 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4708, allocations: 3.938 kB / 1.419 GB, free: 4.742 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.4722, allocations: 0.8754 MB / 1.42 GB, free: 3.805 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.4722, allocations: 11.86 kB / 1.42 GB, free: 3.793 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.4723, allocations: 35.92 kB / 1.42 GB, free: 3.758 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4723, allocations: 0 / 1.42 GB, free: 3.758 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4723, allocations: 8 kB / 1.42 GB, free: 3.75 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4723, allocations: 4 kB / 1.42 GB, free: 3.746 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4723, allocations: 4 kB / 1.42 GB, free: 3.742 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005701/0.4729, allocations: 468.3 kB / 1.421 GB, free: 3.246 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.4731, allocations: 87.42 kB / 1.421 GB, free: 3.16 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.4732, allocations: 12.09 kB / 1.421 GB, free: 3.148 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.4733, allocations: 8 kB / 1.421 GB, free: 3.141 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.4734, allocations: 23.84 kB / 1.421 GB, free: 3.117 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.4734, allocations: 12 kB / 1.421 GB, free: 3.105 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005452/0.474, allocations: 447 kB / 1.421 GB, free: 2.672 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.474, allocations: 0 / 1.421 GB, free: 2.672 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001108/0.4751, allocations: 379 kB / 1.422 GB, free: 2.301 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.0006227/0.4757, allocations: 334.3 kB / 1.422 GB, free: 1.965 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02846/0.5041, allocations: 4.453 MB / 1.426 GB, free: 13.51 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.5042, allocations: 0 / 1.426 GB, free: 13.51 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.5044, allocations: 112.9 kB / 1.426 GB, free: 13.4 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.5058, allocations: 256.2 kB / 1.427 GB, free: 13.15 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.5079, allocations: 1.216 MB / 1.428 GB, free: 11.88 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.5082, allocations: 329.9 kB / 1.428 GB, free: 11.53 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.5083, allocations: 59.44 kB / 1.428 GB, free: 11.47 MB / 1.123 GB Notification: Performance of SimCode: time 1.272e-06/0.5083, allocations: 0 / 1.428 GB, free: 11.47 MB / 1.123 GB Notification: Performance of Templates: time 0.02207/0.5304, allocations: 14.47 MB / 1.442 GB, free: 13.07 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/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.799838406965137]