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.001793/0.001793, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002205/0.002205, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.403/3.403, allocations: 0.4892 GB / 0.7951 GB, free: 35.6 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.002131/0.002131, allocations: 67.78 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3738, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2163/0.5901, allocations: 153.1 MB / 1.476 GB, free: 8.188 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.594, allocations: 1.767 MB / 1.477 GB, free: 6.418 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005854/0.5946, allocations: 23.81 kB / 1.478 GB, free: 6.395 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008759/0.5954, allocations: 222.5 kB / 1.478 GB, free: 6.176 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.5976, allocations: 0.7662 MB / 1.478 GB, free: 5.406 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.5998, allocations: 0.8522 MB / 1.479 GB, free: 4.555 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.6011, allocations: 0.8612 MB / 1.48 GB, free: 3.691 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.6015, allocations: 227.6 kB / 1.48 GB, free: 3.465 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.6029, allocations: 0.5878 MB / 1.481 GB, free: 2.875 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.6033, allocations: 262.9 kB / 1.481 GB, free: 2.617 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.6034, allocations: 31.94 kB / 1.481 GB, free: 2.586 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.6052, allocations: 0.8881 MB / 1.482 GB, free: 1.695 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.6054, allocations: 123.6 kB / 1.482 GB, free: 1.574 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.6056, allocations: 167.2 kB / 1.482 GB, free: 1.41 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.6071, allocations: 0.88 MB / 1.483 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6071, allocations: 0 / 1.483 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6071, allocations: 4 kB / 1.483 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.6071, allocations: 0 / 1.483 GB, free: 0.5234 MB / 1.17 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.001794/0.6089, allocations: 0.7107 MB / 1.484 GB, free: 15.78 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.609, allocations: 12.03 kB / 1.484 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.61, allocations: 167.5 kB / 1.484 GB, free: 15.61 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007019/0.6107, allocations: 299.6 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.6108, allocations: 20.66 kB / 1.484 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.6108, allocations: 32 kB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.6116, allocations: 395.5 kB / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.6116, allocations: 3.938 kB / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.6116, allocations: 16 kB / 1.485 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.6117, allocations: 16.58 kB / 1.485 GB, free: 14.79 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.6124, allocations: 346.3 kB / 1.485 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.6145, allocations: 1.23 MB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.615, allocations: 222.7 kB / 1.487 GB, free: 12.94 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.6153, allocations: 130.6 kB / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/0.6158, allocations: 79.91 kB / 1.487 GB, free: 12.73 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.6158, allocations: 34.56 kB / 1.487 GB, free: 12.69 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.6158, allocations: 0 / 1.487 GB, free: 12.69 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001016/0.6168, allocations: 373.2 kB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.6169, allocations: 55.41 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.6172, allocations: 268.2 kB / 1.487 GB, free: 11.98 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.6173, allocations: 29.7 kB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.6174, allocations: 212.4 kB / 1.488 GB, free: 11.73 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-05/0.6175, allocations: 75.36 kB / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.93e-05/0.6176, allocations: 49.64 kB / 1.488 GB, free: 11.61 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.6178, allocations: 338.8 kB / 1.488 GB, free: 11.27 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.618, allocations: 91.92 kB / 1.488 GB, free: 11.18 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.6184, allocations: 232.8 kB / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/0.6189, allocations: 251.7 kB / 1.489 GB, free: 10.64 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6189, allocations: 3.938 kB / 1.489 GB, free: 10.64 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006188/0.6195, allocations: 298.8 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.6195, allocations: 4 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6195, allocations: 4 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6196, allocations: 3.938 kB / 1.489 GB, free: 10.33 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.6198, allocations: 55.91 kB / 1.489 GB, free: 10.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.6198, allocations: 3.984 kB / 1.489 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.6201, allocations: 31.83 kB / 1.489 GB, free: 10.24 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.6201, allocations: 8 kB / 1.489 GB, free: 10.23 MB / 1.186 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.0001896/0.6203, allocations: 161.8 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.6203, allocations: 23.86 kB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/0.621, allocations: 301.5 kB / 1.49 GB, free: 9.738 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.621, allocations: 4 kB / 1.49 GB, free: 9.734 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.621, allocations: 0 / 1.49 GB, free: 9.734 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.621, allocations: 0 / 1.49 GB, free: 9.734 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.6225, allocations: 0.7995 MB / 1.49 GB, free: 8.863 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6225, allocations: 0 / 1.49 GB, free: 8.863 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.6228, allocations: 43.97 kB / 1.49 GB, free: 8.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.6228, allocations: 7.938 kB / 1.49 GB, free: 8.812 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.6228, allocations: 4 kB / 1.49 GB, free: 8.809 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.6228, allocations: 12.28 kB / 1.49 GB, free: 8.797 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6228, allocations: 8 kB / 1.49 GB, free: 8.789 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.6235, allocations: 444.5 kB / 1.491 GB, free: 8.305 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.6236, allocations: 47.83 kB / 1.491 GB, free: 8.258 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.6237, allocations: 11.94 kB / 1.491 GB, free: 8.246 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.6239, allocations: 11.98 kB / 1.491 GB, free: 8.234 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.6239, allocations: 23.91 kB / 1.491 GB, free: 8.211 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.624, allocations: 12 kB / 1.491 GB, free: 8.199 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002203/0.6242, allocations: 187.2 kB / 1.491 GB, free: 8.016 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6242, allocations: 3.938 kB / 1.491 GB, free: 8.012 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004883/0.6247, allocations: 115.7 kB / 1.491 GB, free: 7.898 MB / 1.186 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.0003018/0.625, allocations: 163 kB / 1.491 GB, free: 7.73 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005995/0.6256, allocations: 241 kB / 1.492 GB, free: 7.496 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6256, allocations: 7.875 kB / 1.492 GB, free: 7.488 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.6258, allocations: 120.9 kB / 1.492 GB, free: 7.371 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/0.6267, allocations: 152.1 kB / 1.492 GB, free: 7.23 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.6278, allocations: 0.6468 MB / 1.493 GB, free: 6.512 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.6281, allocations: 189.1 kB / 1.493 GB, free: 6.309 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.6282, allocations: 31.44 kB / 1.493 GB, free: 6.277 MB / 1.186 GB Notification: Performance of SimCode: time 8.01e-07/0.6282, allocations: 4 kB / 1.493 GB, free: 6.273 MB / 1.186 GB Notification: Performance of Templates: time 0.009193/0.6374, allocations: 5.197 MB / 1.498 GB, free: 1.117 MB / 1.186 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/jenkins1/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: 12.948528722394258]