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.00159/0.00159, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001762/0.001762, allocations: 213.7 kB / 23.01 MB, free: 5.125 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.479/3.479, allocations: 0.505 GB / 0.8108 GB, free: 22.05 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.002047/0.002047, allocations: 66.64 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4063, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2294/0.6357, allocations: 177.1 MB / 1.527 GB, free: 6.203 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.6398, allocations: 1.854 MB / 1.529 GB, free: 4.344 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005175/0.6403, allocations: 19.81 kB / 1.529 GB, free: 4.324 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0008835/0.6412, allocations: 226.5 kB / 1.529 GB, free: 4.102 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.6434, allocations: 0.7857 MB / 1.53 GB, free: 3.312 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.6459, allocations: 0.8923 MB / 1.531 GB, free: 2.422 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.6473, allocations: 0.8571 MB / 1.532 GB, free: 1.562 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.6478, allocations: 236.2 kB / 1.532 GB, free: 1.328 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.6492, allocations: 0.5917 MB / 1.532 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/0.6496, allocations: 278.8 kB / 1.533 GB, free: 472 kB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.6497, allocations: 24 kB / 1.533 GB, free: 448 kB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.652, allocations: 1.192 MB / 1.534 GB, free: 15.24 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.6521, allocations: 123.6 kB / 1.534 GB, free: 15.12 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.6524, allocations: 199 kB / 1.534 GB, free: 14.93 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.6542, allocations: 0.9267 MB / 1.535 GB, free: 14 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6542, allocations: 0 / 1.535 GB, free: 14 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6542, allocations: 0 / 1.535 GB, free: 14 MB / 1.232 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.6542, allocations: 0 / 1.535 GB, free: 14 MB / 1.232 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.00179/0.656, allocations: 0.7146 MB / 1.536 GB, free: 13.25 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.656, allocations: 16.02 kB / 1.536 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6571, allocations: 155.6 kB / 1.536 GB, free: 13.08 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.6577, allocations: 303.6 kB / 1.536 GB, free: 12.75 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.6578, allocations: 24.59 kB / 1.536 GB, free: 12.73 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.6578, allocations: 24 kB / 1.536 GB, free: 12.71 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.6585, allocations: 399.5 kB / 1.537 GB, free: 12.3 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6586, allocations: 0 / 1.537 GB, free: 12.3 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.6586, allocations: 12 kB / 1.537 GB, free: 12.29 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.571e-05/0.6587, allocations: 20.59 kB / 1.537 GB, free: 12.27 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000723/0.6594, allocations: 338.3 kB / 1.537 GB, free: 11.93 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.662, allocations: 1.758 MB / 1.539 GB, free: 10.02 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.6625, allocations: 226.7 kB / 1.539 GB, free: 9.785 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.6628, allocations: 136.7 kB / 1.539 GB, free: 9.648 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004696/0.6633, allocations: 67.92 kB / 1.539 GB, free: 9.582 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.6633, allocations: 38.56 kB / 1.539 GB, free: 9.535 MB / 1.232 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.6633, allocations: 0 / 1.539 GB, free: 9.535 MB / 1.232 GB Notification: Performance of matching and sorting (n=20): time 0.001042/0.6644, allocations: 387.2 kB / 1.539 GB, free: 9.152 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.6644, allocations: 51.41 kB / 1.54 GB, free: 9.09 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/0.665, allocations: 361.7 kB / 1.54 GB, free: 8.73 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.665, allocations: 33.7 kB / 1.54 GB, free: 8.691 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.6653, allocations: 196.3 kB / 1.54 GB, free: 8.496 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.6654, allocations: 75.42 kB / 1.54 GB, free: 8.422 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.6655, allocations: 45.69 kB / 1.54 GB, free: 8.371 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002685/0.6658, allocations: 346.8 kB / 1.541 GB, free: 8.023 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.666, allocations: 95.86 kB / 1.541 GB, free: 7.93 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.6663, allocations: 161.9 kB / 1.541 GB, free: 7.75 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.6667, allocations: 247.5 kB / 1.541 GB, free: 7.488 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6667, allocations: 0 / 1.541 GB, free: 7.488 MB / 1.232 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006087/0.6674, allocations: 307 kB / 1.541 GB, free: 7.184 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.6674, allocations: 13.55 kB / 1.541 GB, free: 7.172 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6674, allocations: 0 / 1.541 GB, free: 7.172 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.6674, allocations: 4 kB / 1.541 GB, free: 7.168 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.6677, allocations: 51.91 kB / 1.541 GB, free: 7.117 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.6677, allocations: 8 kB / 1.541 GB, free: 7.109 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.668, allocations: 39.72 kB / 1.541 GB, free: 7.07 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.668, allocations: 8 kB / 1.541 GB, free: 7.062 MB / 1.232 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.0001897/0.6682, allocations: 165.8 kB / 1.542 GB, free: 6.891 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.6682, allocations: 31.81 kB / 1.542 GB, free: 6.859 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006752/0.6689, allocations: 296.9 kB / 1.542 GB, free: 6.562 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.6689, allocations: 0 / 1.542 GB, free: 6.562 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6689, allocations: 0 / 1.542 GB, free: 6.562 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6689, allocations: 7.922 kB / 1.542 GB, free: 6.555 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.6706, allocations: 0.8731 MB / 1.543 GB, free: 5.598 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6706, allocations: 4 kB / 1.543 GB, free: 5.594 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.6709, allocations: 39.91 kB / 1.543 GB, free: 5.555 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.6709, allocations: 4 kB / 1.543 GB, free: 5.551 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.6709, allocations: 15.98 kB / 1.543 GB, free: 5.535 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.6709, allocations: 7.938 kB / 1.543 GB, free: 5.527 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6709, allocations: 0 / 1.543 GB, free: 5.527 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.6716, allocations: 454.2 kB / 1.543 GB, free: 5.035 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.6717, allocations: 59.72 kB / 1.543 GB, free: 4.977 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.6718, allocations: 8 kB / 1.543 GB, free: 4.969 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.672, allocations: 11.98 kB / 1.543 GB, free: 4.957 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.6721, allocations: 31.84 kB / 1.543 GB, free: 4.926 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.6721, allocations: 8 kB / 1.543 GB, free: 4.918 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003278/0.6724, allocations: 255.2 kB / 1.544 GB, free: 4.668 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6724, allocations: 0 / 1.544 GB, free: 4.668 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00049/0.6729, allocations: 99.89 kB / 1.544 GB, free: 4.57 MB / 1.232 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.0003274/0.6732, allocations: 167 kB / 1.544 GB, free: 4.395 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005984/0.6738, allocations: 233.4 kB / 1.544 GB, free: 4.168 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6738, allocations: 0 / 1.544 GB, free: 4.168 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.6741, allocations: 124.4 kB / 1.544 GB, free: 4.047 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.6752, allocations: 216.4 kB / 1.544 GB, free: 3.84 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.6766, allocations: 0.674 MB / 1.545 GB, free: 3.098 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.6772, allocations: 0.7997 MB / 1.546 GB, free: 2.27 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.6773, allocations: 31.44 kB / 1.546 GB, free: 2.242 MB / 1.232 GB Notification: Performance of SimCode: time 1.082e-06/0.6773, allocations: 4 kB / 1.546 GB, free: 2.238 MB / 1.232 GB Notification: Performance of Templates: time 0.01078/0.6881, allocations: 5.899 MB / 1.552 GB, free: 12.4 MB / 1.248 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/jenkins1/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: 13.289417541993316]