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.001364/0.001364, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001461/0.001461, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 3.22/3.22, allocations: 0.49 GB / 0.7959 GB, free: 35.34 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.002003/0.002003, allocations: 70.02 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3589, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Pipes.Validation.Pipe): time 0.0315/0.3904, allocations: 26.83 MB / 1.353 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.401, allocations: 6.314 MB / 1.36 GB, free: 15.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.4022, allocations: 55.5 kB / 1.36 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.4035, allocations: 417.1 kB / 1.36 GB, free: 15.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.4075, allocations: 1.361 MB / 1.361 GB, free: 13.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.4094, allocations: 0.6564 MB / 1.362 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003348/0.4127, allocations: 2.221 MB / 1.364 GB, free: 11.01 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007504/0.4135, allocations: 469.4 kB / 1.365 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.4159, allocations: 1.16 MB / 1.366 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007596/0.4167, allocations: 0.4897 MB / 1.366 GB, free: 8.879 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-05/0.4167, allocations: 40 kB / 1.366 GB, free: 8.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.4183, allocations: 0.7057 MB / 1.367 GB, free: 8.133 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001877/0.4185, allocations: 151.3 kB / 1.367 GB, free: 7.984 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.4188, allocations: 294.4 kB / 1.367 GB, free: 7.695 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.4205, allocations: 1.152 MB / 1.368 GB, free: 6.539 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4205, allocations: 0 / 1.368 GB, free: 6.539 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4205, allocations: 0 / 1.368 GB, free: 6.539 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.4205, allocations: 0 / 1.368 GB, free: 6.539 MB / 1.061 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.001569/0.4221, allocations: 1.083 MB / 1.369 GB, free: 5.422 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4221, allocations: 8.031 kB / 1.369 GB, free: 5.414 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.4223, allocations: 92.38 kB / 1.37 GB, free: 5.324 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.4238, allocations: 0.6975 MB / 1.37 GB, free: 4.594 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.4238, allocations: 33 kB / 1.37 GB, free: 4.562 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.656e-05/0.4238, allocations: 36 kB / 1.37 GB, free: 4.527 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.4244, allocations: 322.4 kB / 1.371 GB, free: 4.211 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4244, allocations: 3.938 kB / 1.371 GB, free: 4.207 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.4244, allocations: 16 kB / 1.371 GB, free: 4.191 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4244, allocations: 8 kB / 1.371 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.4249, allocations: 231.9 kB / 1.371 GB, free: 3.953 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.4266, allocations: 0.9312 MB / 1.372 GB, free: 2.988 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.4268, allocations: 138.4 kB / 1.372 GB, free: 2.844 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.427, allocations: 100.8 kB / 1.372 GB, free: 2.742 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.4273, allocations: 75.94 kB / 1.372 GB, free: 2.668 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4273, allocations: 30.56 kB / 1.372 GB, free: 2.629 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.4273, allocations: 4 kB / 1.372 GB, free: 2.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0005723/0.4279, allocations: 318.3 kB / 1.372 GB, free: 2.309 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.4279, allocations: 51.41 kB / 1.372 GB, free: 2.246 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/0.4287, allocations: 0.6491 MB / 1.373 GB, free: 1.586 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.4287, allocations: 33.7 kB / 1.373 GB, free: 1.547 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.429, allocations: 380.3 kB / 1.374 GB, free: 1.168 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.4291, allocations: 75.36 kB / 1.374 GB, free: 1.094 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.4292, allocations: 94.08 kB / 1.374 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002231/0.4294, allocations: 378.8 kB / 1.374 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.4296, allocations: 106.5 kB / 1.374 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006691/0.4303, allocations: 0.5629 MB / 1.375 GB, free: 15.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/0.4308, allocations: 351.9 kB / 1.375 GB, free: 15.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4308, allocations: 0 / 1.375 GB, free: 15.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007245/0.4315, allocations: 432.8 kB / 1.375 GB, free: 14.97 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.4315, allocations: 8 kB / 1.375 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.4316, allocations: 4.438 kB / 1.375 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.4316, allocations: 11.94 kB / 1.375 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005846/0.4374, allocations: 0.9362 MB / 1.376 GB, free: 14.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009024/0.4383, allocations: 1.199 MB / 1.378 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.4387, allocations: 35.78 kB / 1.378 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.4388, allocations: 23.98 kB / 1.378 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003895/0.4392, allocations: 240.9 kB / 1.378 GB, free: 12.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005633/0.4397, allocations: 0.5841 MB / 1.378 GB, free: 11.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004545/0.4402, allocations: 350 kB / 1.379 GB, free: 11.33 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.202e-06/0.4402, allocations: 4 kB / 1.379 GB, free: 11.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0007244/0.4409, allocations: 432.6 kB / 1.379 GB, free: 10.89 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4409, allocations: 4 kB / 1.379 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4409, allocations: 8.438 kB / 1.379 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.441, allocations: 8 kB / 1.379 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005771/0.4467, allocations: 0.9323 MB / 1.38 GB, free: 9.941 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008978/0.4476, allocations: 1.199 MB / 1.381 GB, free: 8.695 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.4481, allocations: 39.75 kB / 1.381 GB, free: 8.656 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.4482, allocations: 20 kB / 1.381 GB, free: 8.637 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.0002457/0.4484, allocations: 213.9 kB / 1.382 GB, free: 8.422 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.4486, allocations: 71.53 kB / 1.382 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000782/0.4494, allocations: 388.5 kB / 1.382 GB, free: 7.957 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.4494, allocations: 7.938 kB / 1.382 GB, free: 7.949 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4494, allocations: 7.984 kB / 1.382 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4494, allocations: 3.938 kB / 1.382 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.4508, allocations: 0.8691 MB / 1.383 GB, free: 7.008 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.4508, allocations: 8.422 kB / 1.383 GB, free: 7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4509, allocations: 43.86 kB / 1.383 GB, free: 6.957 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.4509, allocations: 4 kB / 1.383 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.4509, allocations: 4 kB / 1.383 GB, free: 6.949 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.4509, allocations: 0 / 1.383 GB, free: 6.949 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.4509, allocations: 7.984 kB / 1.383 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005705/0.4515, allocations: 478.9 kB / 1.383 GB, free: 6.434 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.4517, allocations: 91.42 kB / 1.383 GB, free: 6.344 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.624e-05/0.4518, allocations: 4 kB / 1.383 GB, free: 6.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.4519, allocations: 8 kB / 1.383 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.452, allocations: 31.84 kB / 1.383 GB, free: 6.301 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.452, allocations: 8 kB / 1.383 GB, free: 6.293 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005689/0.4526, allocations: 451 kB / 1.384 GB, free: 5.855 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4526, allocations: 0 / 1.384 GB, free: 5.855 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001262/0.4538, allocations: 375 kB / 1.384 GB, free: 5.488 MB / 1.076 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.0006839/0.4545, allocations: 332.5 kB / 1.385 GB, free: 5.156 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.029/0.4835, allocations: 4.446 MB / 1.389 GB, free: 0.707 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/0.4835, allocations: 0 / 1.389 GB, free: 0.707 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.4838, allocations: 122.2 kB / 1.389 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.4854, allocations: 264.6 kB / 1.389 GB, free: 344 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.4878, allocations: 1.213 MB / 1.39 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.4881, allocations: 321.9 kB / 1.391 GB, free: 14.73 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.4883, allocations: 55.42 kB / 1.391 GB, free: 14.67 MB / 1.092 GB Notification: Performance of SimCode: time 1.262e-06/0.4883, allocations: 4 kB / 1.391 GB, free: 14.67 MB / 1.092 GB Notification: Performance of Templates: time 0.02239/0.5106, allocations: 14.47 MB / 1.405 GB, free: 292 kB / 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.240663388045505]