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.001645/0.001645, 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.002103/0.002103, 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.098/3.098, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] 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.002009/0.002009, allocations: 71.97 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3571, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.198/0.5552, allocations: 153.1 MB / 1.477 GB, free: 7.297 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003626/0.5588, allocations: 1.759 MB / 1.478 GB, free: 5.535 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.5592, allocations: 19.81 kB / 1.478 GB, free: 5.516 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007773/0.56, allocations: 210.5 kB / 1.479 GB, free: 5.309 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.562, allocations: 0.7739 MB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.5643, allocations: 0.8561 MB / 1.48 GB, free: 3.676 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.5655, allocations: 0.8495 MB / 1.481 GB, free: 2.824 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004669/0.566, allocations: 231.5 kB / 1.481 GB, free: 2.594 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.5673, allocations: 0.5916 MB / 1.482 GB, free: 2 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.5677, allocations: 266.9 kB / 1.482 GB, free: 1.738 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.455e-05/0.5677, allocations: 28 kB / 1.482 GB, free: 1.711 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.5694, allocations: 0.8842 MB / 1.483 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.5695, allocations: 131.5 kB / 1.483 GB, free: 0.6953 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.5697, allocations: 171.2 kB / 1.483 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.5711, allocations: 0.8722 MB / 1.484 GB, free: 15.65 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5711, allocations: 0 / 1.484 GB, free: 15.65 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5711, allocations: 0 / 1.484 GB, free: 15.65 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.5711, allocations: 0 / 1.484 GB, free: 15.65 MB / 1.186 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.001842/0.5729, allocations: 0.7262 MB / 1.485 GB, free: 14.89 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.573, allocations: 8.031 kB / 1.485 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.574, allocations: 167.5 kB / 1.485 GB, free: 14.72 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.5747, allocations: 299.7 kB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.5747, allocations: 20.66 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.5747, allocations: 27.98 kB / 1.485 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.5755, allocations: 391.5 kB / 1.486 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5755, allocations: 4 kB / 1.486 GB, free: 13.95 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.5755, allocations: 12 kB / 1.486 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.5756, allocations: 20.53 kB / 1.486 GB, free: 13.91 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.5763, allocations: 342.3 kB / 1.486 GB, free: 13.58 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.5783, allocations: 1.222 MB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.5788, allocations: 238.5 kB / 1.487 GB, free: 12.06 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.5791, allocations: 135.5 kB / 1.488 GB, free: 11.93 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004767/0.5796, allocations: 67.92 kB / 1.488 GB, free: 11.86 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/0.5796, allocations: 38.56 kB / 1.488 GB, free: 11.81 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.5796, allocations: 0 / 1.488 GB, free: 11.81 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001011/0.5806, allocations: 383.9 kB / 1.488 GB, free: 11.43 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.5807, allocations: 55.39 kB / 1.488 GB, free: 11.37 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.581, allocations: 272.2 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.581, allocations: 25.7 kB / 1.488 GB, free: 11.06 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.5812, allocations: 204.5 kB / 1.489 GB, free: 10.86 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.5813, allocations: 75.38 kB / 1.489 GB, free: 10.78 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.925e-05/0.5814, allocations: 49.7 kB / 1.489 GB, free: 10.73 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.5815, allocations: 338.8 kB / 1.489 GB, free: 10.39 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.5818, allocations: 87.92 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.5821, allocations: 232.8 kB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.5826, allocations: 259.4 kB / 1.49 GB, free: 9.762 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5826, allocations: 3.938 kB / 1.49 GB, free: 9.758 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006004/0.5832, allocations: 293.2 kB / 1.49 GB, free: 9.465 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5832, allocations: 8 kB / 1.49 GB, free: 9.457 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5832, allocations: 192 / 1.49 GB, free: 9.457 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5832, allocations: 8 kB / 1.49 GB, free: 9.449 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.5835, allocations: 47.91 kB / 1.49 GB, free: 9.402 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5835, allocations: 4 kB / 1.49 GB, free: 9.398 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.5837, allocations: 23.88 kB / 1.49 GB, free: 9.375 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.5838, allocations: 8 kB / 1.49 GB, free: 9.367 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.0001891/0.5839, allocations: 169.7 kB / 1.49 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.584, allocations: 27.81 kB / 1.49 GB, free: 9.164 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.5847, allocations: 305.5 kB / 1.49 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5847, allocations: 0 / 1.49 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5847, allocations: 0 / 1.49 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5847, allocations: 0 / 1.49 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.5861, allocations: 0.7997 MB / 1.491 GB, free: 7.984 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.5861, allocations: 4 kB / 1.491 GB, free: 7.98 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.5863, allocations: 43.91 kB / 1.491 GB, free: 7.938 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.5863, allocations: 11.97 kB / 1.491 GB, free: 7.926 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.5864, allocations: 11.94 kB / 1.491 GB, free: 7.914 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.5864, allocations: 7.984 kB / 1.491 GB, free: 7.906 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5864, allocations: 7.938 kB / 1.491 GB, free: 7.898 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.587, allocations: 440.8 kB / 1.492 GB, free: 7.418 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.5872, allocations: 43.8 kB / 1.492 GB, free: 7.375 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.5872, allocations: 15.92 kB / 1.492 GB, free: 7.359 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.5874, allocations: 8 kB / 1.492 GB, free: 7.352 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.5875, allocations: 19.97 kB / 1.492 GB, free: 7.332 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.5875, allocations: 12 kB / 1.492 GB, free: 7.32 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002284/0.5877, allocations: 195.1 kB / 1.492 GB, free: 7.129 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5877, allocations: 0 / 1.492 GB, free: 7.129 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004857/0.5882, allocations: 111.7 kB / 1.492 GB, free: 7.02 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.0003088/0.5885, allocations: 167 kB / 1.492 GB, free: 6.848 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005861/0.5891, allocations: 241.5 kB / 1.492 GB, free: 6.613 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5891, allocations: 0 / 1.492 GB, free: 6.613 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.5894, allocations: 123.7 kB / 1.493 GB, free: 6.492 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008622/0.5902, allocations: 145.9 kB / 1.493 GB, free: 6.352 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.5914, allocations: 0.6487 MB / 1.493 GB, free: 5.633 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.5916, allocations: 193.1 kB / 1.494 GB, free: 5.426 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5917, allocations: 35.36 kB / 1.494 GB, free: 5.391 MB / 1.186 GB Notification: Performance of SimCode: time 4.4e-07/0.5917, allocations: 0 / 1.494 GB, free: 5.391 MB / 1.186 GB Notification: Performance of Templates: time 0.008733/0.6004, allocations: 5.201 MB / 1.499 GB, free: 236 kB / 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.16835734108463]