Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.001691/0.001691, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001911/0.001911, allocations: 218.4 kB / 22.26 MB, free: 5.121 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 8.004 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.328/3.328, allocations: 0.49 GB / 0.7951 GB, free: 33.2 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.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [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.002151/0.002151, allocations: 70.02 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4303, allocations: 176.1 MB / 1.326 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2318/0.662, allocations: 177.1 MB / 1.499 GB, free: 15.65 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004246/0.6663, allocations: 1.854 MB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007029/0.667, allocations: 23.81 kB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.668, allocations: 222.5 kB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002816/0.6709, allocations: 0.7956 MB / 1.502 GB, free: 12.75 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.6735, allocations: 0.8813 MB / 1.503 GB, free: 11.87 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.675, allocations: 0.8573 MB / 1.504 GB, free: 11.01 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006367/0.6757, allocations: 235.6 kB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.6773, allocations: 0.5878 MB / 1.505 GB, free: 10.19 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.6779, allocations: 282.8 kB / 1.505 GB, free: 9.91 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.011e-05/0.678, allocations: 28 kB / 1.505 GB, free: 9.883 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.6804, allocations: 1.192 MB / 1.506 GB, free: 8.688 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.6807, allocations: 119.6 kB / 1.506 GB, free: 8.57 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.6811, allocations: 206.9 kB / 1.506 GB, free: 8.367 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.6834, allocations: 0.9151 MB / 1.507 GB, free: 7.449 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6834, allocations: 0 / 1.507 GB, free: 7.449 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6834, allocations: 0 / 1.507 GB, free: 7.449 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.804e-05/0.6834, allocations: 3.938 kB / 1.507 GB, free: 7.445 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002318/0.6857, allocations: 0.7224 MB / 1.508 GB, free: 6.691 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6858, allocations: 12.03 kB / 1.508 GB, free: 6.68 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.687, allocations: 163.4 kB / 1.508 GB, free: 6.52 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.6877, allocations: 299.7 kB / 1.508 GB, free: 6.199 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.6878, allocations: 20.66 kB / 1.508 GB, free: 6.18 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.6878, allocations: 28 kB / 1.508 GB, free: 6.152 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.6886, allocations: 395.5 kB / 1.509 GB, free: 5.742 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6886, allocations: 0 / 1.509 GB, free: 5.742 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.6887, allocations: 12 kB / 1.509 GB, free: 5.73 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.6887, allocations: 24.58 kB / 1.509 GB, free: 5.707 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.6895, allocations: 338.3 kB / 1.509 GB, free: 5.379 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/0.692, allocations: 1.75 MB / 1.511 GB, free: 3.465 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.6926, allocations: 226.6 kB / 1.511 GB, free: 3.234 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.6929, allocations: 135.9 kB / 1.511 GB, free: 3.102 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004795/0.6933, allocations: 71.92 kB / 1.511 GB, free: 3.031 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.6934, allocations: 42.55 kB / 1.511 GB, free: 2.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.6934, allocations: 0 / 1.511 GB, free: 2.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001025/0.6944, allocations: 386.5 kB / 1.512 GB, free: 2.598 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.6945, allocations: 59.41 kB / 1.512 GB, free: 2.527 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.6949, allocations: 353.7 kB / 1.512 GB, free: 2.172 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.695, allocations: 33.7 kB / 1.512 GB, free: 2.133 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.6952, allocations: 196.3 kB / 1.512 GB, free: 1.938 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.451e-05/0.6952, allocations: 79.36 kB / 1.512 GB, free: 1.859 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.6953, allocations: 41.7 kB / 1.512 GB, free: 1.812 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.6955, allocations: 354.7 kB / 1.513 GB, free: 1.457 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.6957, allocations: 91.92 kB / 1.513 GB, free: 1.367 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.696, allocations: 151.9 kB / 1.513 GB, free: 1.199 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.6966, allocations: 250.9 kB / 1.513 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.6966, allocations: 4 kB / 1.513 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006831/0.6972, allocations: 307.1 kB / 1.514 GB, free: 0.625 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.6973, allocations: 4 kB / 1.514 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.6973, allocations: 4 kB / 1.514 GB, free: 0.6172 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6973, allocations: 0 / 1.514 GB, free: 0.6172 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.6976, allocations: 51.91 kB / 1.514 GB, free: 0.5664 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.6976, allocations: 4 kB / 1.514 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.6979, allocations: 35.77 kB / 1.514 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.6979, allocations: 20.11 kB / 1.514 GB, free: 0.5078 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.6981, allocations: 157.7 kB / 1.514 GB, free: 352 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.6982, allocations: 39.77 kB / 1.514 GB, free: 312 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.6989, allocations: 302.5 kB / 1.514 GB, free: 0 / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.6989, allocations: 0 / 1.514 GB, free: 0 / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.475e-05/0.6989, allocations: 4.047 kB / 1.514 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6989, allocations: 3.938 kB / 1.514 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.7007, allocations: 0.8691 MB / 1.515 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.7007, allocations: 4 kB / 1.515 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.7009, allocations: 47.91 kB / 1.515 GB, free: 14.99 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.7009, allocations: 4 kB / 1.515 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.7009, allocations: 4 kB / 1.515 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.7009, allocations: 4 kB / 1.515 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7009, allocations: 4.344 kB / 1.515 GB, free: 14.97 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007436/0.7017, allocations: 448.5 kB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.7018, allocations: 63.66 kB / 1.516 GB, free: 14.42 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-05/0.7019, allocations: 15.98 kB / 1.516 GB, free: 14.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.7021, allocations: 12 kB / 1.516 GB, free: 14.39 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.7022, allocations: 27.84 kB / 1.516 GB, free: 14.37 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.7022, allocations: 8 kB / 1.516 GB, free: 14.36 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003406/0.7025, allocations: 259.2 kB / 1.516 GB, free: 14.11 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7025, allocations: 0 / 1.516 GB, free: 14.11 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004935/0.703, allocations: 99.88 kB / 1.516 GB, free: 14.02 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003484/0.7034, allocations: 159 kB / 1.516 GB, free: 13.85 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006069/0.704, allocations: 237.2 kB / 1.516 GB, free: 13.62 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.704, allocations: 4.375 kB / 1.516 GB, free: 13.61 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.7043, allocations: 115.8 kB / 1.516 GB, free: 13.5 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.7054, allocations: 216 kB / 1.517 GB, free: 13.29 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.7067, allocations: 0.6489 MB / 1.517 GB, free: 12.58 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/0.7072, allocations: 0.8035 MB / 1.518 GB, free: 11.75 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003299/0.7076, allocations: 91.22 kB / 1.518 GB, free: 11.66 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.7077, allocations: 31.42 kB / 1.518 GB, free: 11.63 MB / 1.217 GB Notification: Performance of SimCode: time 4.71e-07/0.7077, allocations: 0 / 1.518 GB, free: 11.63 MB / 1.217 GB Notification: Performance of Templates: time 0.01682/0.7245, allocations: 7.446 MB / 1.525 GB, free: 4.312 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.304800366982818]