Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001553/0.001553, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001982/0.001982, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.641/1.641, allocations: 230.6 MB / 256 MB, free: 7.789 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.645/3.645, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_latest_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_latest_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.002168/0.002168, allocations: 68.84 kB / 1.186 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5029, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.257/0.7599, allocations: 153.1 MB / 1.513 GB, free: 3.977 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004196/0.7641, allocations: 1.753 MB / 1.515 GB, free: 2.219 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.7644, allocations: 23.81 kB / 1.515 GB, free: 2.195 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000903/0.7653, allocations: 218.5 kB / 1.515 GB, free: 1.98 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002423/0.7678, allocations: 0.7622 MB / 1.516 GB, free: 1.215 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.7704, allocations: 0.859 MB / 1.517 GB, free: 364 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.7717, allocations: 0.8609 MB / 1.518 GB, free: 15.49 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004907/0.7722, allocations: 227.8 kB / 1.518 GB, free: 15.27 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.7735, allocations: 0.5878 MB / 1.518 GB, free: 14.68 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.7739, allocations: 258.9 kB / 1.519 GB, free: 14.42 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.774, allocations: 28 kB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.7757, allocations: 0.892 MB / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.7759, allocations: 123.6 kB / 1.52 GB, free: 13.38 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.7761, allocations: 167.3 kB / 1.52 GB, free: 13.21 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.7776, allocations: 0.8761 MB / 1.521 GB, free: 12.34 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7776, allocations: 7.938 kB / 1.521 GB, free: 12.33 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7776, allocations: 4 kB / 1.521 GB, free: 12.32 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.7776, allocations: 0 / 1.521 GB, free: 12.32 MB / 1.217 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.001918/0.7795, allocations: 0.7146 MB / 1.521 GB, free: 11.58 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.7796, allocations: 8.031 kB / 1.521 GB, free: 11.57 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.7806, allocations: 163.5 kB / 1.522 GB, free: 11.41 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007337/0.7813, allocations: 295.7 kB / 1.522 GB, free: 11.1 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.7813, allocations: 28.59 kB / 1.522 GB, free: 11.07 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.7814, allocations: 28 kB / 1.522 GB, free: 11.04 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.7822, allocations: 395.5 kB / 1.522 GB, free: 10.63 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.7822, allocations: 0 / 1.522 GB, free: 10.63 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.7822, allocations: 12 kB / 1.522 GB, free: 10.62 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.7823, allocations: 24.58 kB / 1.522 GB, free: 10.6 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007678/0.7831, allocations: 342.3 kB / 1.523 GB, free: 10.26 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.7852, allocations: 1.238 MB / 1.524 GB, free: 8.969 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005364/0.7857, allocations: 222.7 kB / 1.524 GB, free: 8.742 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.786, allocations: 132.7 kB / 1.524 GB, free: 8.609 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004708/0.7865, allocations: 75.91 kB / 1.524 GB, free: 8.535 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.7865, allocations: 42.44 kB / 1.524 GB, free: 8.484 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.7865, allocations: 0 / 1.524 GB, free: 8.484 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.00107/0.7876, allocations: 372.9 kB / 1.525 GB, free: 8.117 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.7876, allocations: 51.41 kB / 1.525 GB, free: 8.055 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.788, allocations: 276.1 kB / 1.525 GB, free: 7.781 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.788, allocations: 33.7 kB / 1.525 GB, free: 7.742 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.7882, allocations: 208.5 kB / 1.525 GB, free: 7.531 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.169e-05/0.7883, allocations: 71.38 kB / 1.525 GB, free: 7.461 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.7884, allocations: 45.7 kB / 1.525 GB, free: 7.41 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.7886, allocations: 334.8 kB / 1.526 GB, free: 7.074 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.7888, allocations: 91.92 kB / 1.526 GB, free: 6.984 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.7892, allocations: 237.2 kB / 1.526 GB, free: 6.715 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.7897, allocations: 245.8 kB / 1.526 GB, free: 6.453 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7897, allocations: 3.938 kB / 1.526 GB, free: 6.449 MB / 1.217 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006254/0.7903, allocations: 311.5 kB / 1.527 GB, free: 6.141 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.7903, allocations: 8 kB / 1.527 GB, free: 6.133 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.7903, allocations: 0 / 1.527 GB, free: 6.133 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.7904, allocations: 4 kB / 1.527 GB, free: 6.129 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.7906, allocations: 47.95 kB / 1.527 GB, free: 6.082 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.7906, allocations: 7.938 kB / 1.527 GB, free: 6.074 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.7909, allocations: 23.88 kB / 1.527 GB, free: 6.051 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.7909, allocations: 12 kB / 1.527 GB, free: 6.039 MB / 1.217 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.0001831/0.7911, allocations: 157.9 kB / 1.527 GB, free: 5.875 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.7911, allocations: 31.81 kB / 1.527 GB, free: 5.844 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.7918, allocations: 295.6 kB / 1.527 GB, free: 5.547 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.7918, allocations: 4 kB / 1.527 GB, free: 5.543 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7919, allocations: 0 / 1.527 GB, free: 5.543 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7919, allocations: 0 / 1.527 GB, free: 5.543 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.7934, allocations: 0.7957 MB / 1.528 GB, free: 4.676 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.7934, allocations: 4 kB / 1.528 GB, free: 4.672 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.7936, allocations: 43.91 kB / 1.528 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.7936, allocations: 7.938 kB / 1.528 GB, free: 4.621 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.7937, allocations: 8.344 kB / 1.528 GB, free: 4.613 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.7937, allocations: 15.94 kB / 1.528 GB, free: 4.598 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7937, allocations: 0 / 1.528 GB, free: 4.598 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006814/0.7944, allocations: 450.9 kB / 1.528 GB, free: 4.109 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.7945, allocations: 47.78 kB / 1.528 GB, free: 4.062 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.7945, allocations: 11.94 kB / 1.528 GB, free: 4.051 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.7948, allocations: 15.98 kB / 1.528 GB, free: 4.035 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.7948, allocations: 23.91 kB / 1.528 GB, free: 4.012 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.7948, allocations: 12.05 kB / 1.528 GB, free: 4 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002393/0.7951, allocations: 187.1 kB / 1.529 GB, free: 3.816 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.7951, allocations: 0 / 1.529 GB, free: 3.816 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004881/0.7956, allocations: 115.7 kB / 1.529 GB, free: 3.703 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.0003321/0.7959, allocations: 162.9 kB / 1.529 GB, free: 3.535 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006003/0.7965, allocations: 239.6 kB / 1.529 GB, free: 3.301 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7965, allocations: 0 / 1.529 GB, free: 3.301 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.7968, allocations: 124.7 kB / 1.529 GB, free: 3.18 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009544/0.7978, allocations: 145.5 kB / 1.529 GB, free: 3.043 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.7989, allocations: 0.6139 MB / 1.53 GB, free: 2.363 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.7991, allocations: 197.1 kB / 1.53 GB, free: 2.156 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000256/0.7994, allocations: 74.91 kB / 1.53 GB, free: 2.082 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.7995, allocations: 39.36 kB / 1.53 GB, free: 2.043 MB / 1.217 GB Notification: Performance of SimCode: time 4.51e-07/0.7995, allocations: 0 / 1.53 GB, free: 2.043 MB / 1.217 GB Notification: Performance of Templates: time 0.01337/0.8128, allocations: 6.299 MB / 1.536 GB, free: 11.9 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.808084703981876]