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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002244/0.002244, allocations: 192.6 kB / 22.11 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.343/3.343, allocations: 495.8 MB / 0.783 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.95 kB / 1.137 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3866, allocations: 173.6 MB / 1.307 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.03422/0.4208, allocations: 29.17 MB / 1.335 GB, free: 4.602 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.4324, allocations: 6.775 MB / 1.342 GB, free: 13.81 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.4339, allocations: 55.5 kB / 1.342 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.4353, allocations: 417.1 kB / 1.342 GB, free: 13.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004632/0.4399, allocations: 1.388 MB / 1.344 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.4423, allocations: 0.6649 MB / 1.344 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004182/0.4464, allocations: 2.182 MB / 1.346 GB, free: 9.098 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009161/0.4474, allocations: 461.4 kB / 1.347 GB, free: 8.633 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.4497, allocations: 0.9727 MB / 1.348 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000921/0.4507, allocations: 0.5366 MB / 1.348 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.4508, allocations: 40 kB / 1.348 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.4528, allocations: 0.772 MB / 1.349 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.453, allocations: 155.2 kB / 1.349 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.4535, allocations: 377.9 kB / 1.35 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.4557, allocations: 1.175 MB / 1.351 GB, free: 4.602 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4557, allocations: 0 / 1.351 GB, free: 4.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4557, allocations: 4 kB / 1.351 GB, free: 4.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.4557, allocations: 7.875 kB / 1.351 GB, free: 4.59 MB / 1.045 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.001913/0.4576, allocations: 1.083 MB / 1.352 GB, free: 3.473 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4577, allocations: 8.031 kB / 1.352 GB, free: 3.465 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.4578, allocations: 92.38 kB / 1.352 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.4594, allocations: 0.7092 MB / 1.353 GB, free: 2.641 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.4595, allocations: 29 kB / 1.353 GB, free: 2.609 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.4595, allocations: 43.98 kB / 1.353 GB, free: 2.566 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.4601, allocations: 314.5 kB / 1.353 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4601, allocations: 0 / 1.353 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.4601, allocations: 16 kB / 1.353 GB, free: 2.238 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4601, allocations: 8 kB / 1.353 GB, free: 2.23 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.4606, allocations: 239.9 kB / 1.353 GB, free: 2 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.4628, allocations: 1.411 MB / 1.355 GB, free: 476 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.463, allocations: 142.4 kB / 1.355 GB, free: 324 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.4632, allocations: 100.8 kB / 1.355 GB, free: 220 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.4635, allocations: 75.94 kB / 1.355 GB, free: 144 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.4635, allocations: 34.56 kB / 1.355 GB, free: 100 kB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 5.119e-06/0.4635, allocations: 3.984 kB / 1.355 GB, free: 96 kB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.0006685/0.4642, allocations: 311.3 kB / 1.355 GB, free: 15.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.4643, allocations: 63.41 kB / 1.355 GB, free: 15.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.4653, allocations: 0.7273 MB / 1.356 GB, free: 14.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4653, allocations: 33.7 kB / 1.356 GB, free: 14.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.4657, allocations: 364.1 kB / 1.356 GB, free: 14.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.034e-05/0.4657, allocations: 75.34 kB / 1.356 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.4659, allocations: 102 kB / 1.357 GB, free: 14.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.4661, allocations: 318 kB / 1.357 GB, free: 14.08 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.4663, allocations: 114.5 kB / 1.357 GB, free: 13.97 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.4667, allocations: 276.9 kB / 1.357 GB, free: 13.62 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.4672, allocations: 352 kB / 1.358 GB, free: 13.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4672, allocations: 4 kB / 1.358 GB, free: 13.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007667/0.4679, allocations: 441 kB / 1.358 GB, free: 12.78 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.468, allocations: 4.781 kB / 1.358 GB, free: 12.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.468, allocations: 7.938 kB / 1.358 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.468, allocations: 8 kB / 1.358 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0047/0.4727, allocations: 0.6828 MB / 1.359 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009051/0.4736, allocations: 1.203 MB / 1.36 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.4741, allocations: 47.66 kB / 1.36 GB, free: 10.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/0.4741, allocations: 27.97 kB / 1.36 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004281/0.4746, allocations: 244.9 kB / 1.36 GB, free: 10.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003646/0.4749, allocations: 289.9 kB / 1.36 GB, free: 10.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004629/0.4754, allocations: 353.8 kB / 1.361 GB, free: 9.746 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.4754, allocations: 0 / 1.361 GB, free: 9.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007043/0.4761, allocations: 441 kB / 1.361 GB, free: 9.309 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4761, allocations: 12.09 kB / 1.361 GB, free: 9.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.4761, allocations: 4 kB / 1.361 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.4761, allocations: 8 kB / 1.361 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00453/0.4807, allocations: 0.6748 MB / 1.362 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008796/0.4815, allocations: 1.207 MB / 1.363 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/0.482, allocations: 35.83 kB / 1.363 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.4821, allocations: 24 kB / 1.363 GB, free: 7.297 MB / 1.061 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.0002126/0.4823, allocations: 213.1 kB / 1.363 GB, free: 7.082 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.4824, allocations: 75.52 kB / 1.363 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000719/0.4831, allocations: 400.1 kB / 1.364 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4831, allocations: 4 kB / 1.364 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4831, allocations: 3.938 kB / 1.364 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4831, allocations: 0 / 1.364 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.4846, allocations: 0.9779 MB / 1.365 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4846, allocations: 240 / 1.365 GB, free: 5.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.4847, allocations: 31.92 kB / 1.365 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.4847, allocations: 4 kB / 1.365 GB, free: 5.508 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.4847, allocations: 8 kB / 1.365 GB, free: 5.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.4848, allocations: 7.984 kB / 1.365 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4848, allocations: 8.172 kB / 1.365 GB, free: 5.484 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.4853, allocations: 475.1 kB / 1.365 GB, free: 4.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.4855, allocations: 95.42 kB / 1.365 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.731e-05/0.4856, allocations: 4 kB / 1.365 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.4858, allocations: 11.94 kB / 1.365 GB, free: 4.871 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.4859, allocations: 27.84 kB / 1.365 GB, free: 4.844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.4859, allocations: 11.98 kB / 1.365 GB, free: 4.832 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006524/0.4865, allocations: 0.5068 MB / 1.366 GB, free: 4.328 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4865, allocations: 0 / 1.366 GB, free: 4.328 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001177/0.4877, allocations: 391.1 kB / 1.366 GB, free: 3.945 MB / 1.061 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.0008383/0.4886, allocations: 397 kB / 1.367 GB, free: 3.555 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01414/0.5027, allocations: 2.202 MB / 1.369 GB, free: 1.352 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.5027, allocations: 0 / 1.369 GB, free: 1.352 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.5029, allocations: 119.8 kB / 1.369 GB, free: 1.234 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.5045, allocations: 284.6 kB / 1.369 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.5064, allocations: 1.104 MB / 1.37 GB, free: 15.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.507, allocations: 0.9292 MB / 1.371 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005325/0.5075, allocations: 177.4 kB / 1.371 GB, free: 14.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.5076, allocations: 51.44 kB / 1.371 GB, free: 14.63 MB / 1.076 GB Notification: Performance of SimCode: time 1.032e-06/0.5076, allocations: 3.938 kB / 1.371 GB, free: 14.62 MB / 1.076 GB Notification: Performance of Templates: time 0.02771/0.5354, allocations: 13.96 MB / 1.385 GB, free: 0.8398 MB / 1.076 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/jenkins/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: 10.21399507112801]