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.001886/0.001886, allocations: 101.2 kB / 18.99 MB, free: 2.617 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.00182/0.00182, allocations: 225.9 kB / 22.3 MB, free: 5.281 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.553/1.553, allocations: 230.6 MB / 256.1 MB, free: 7.816 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.434/3.434, allocations: 0.49 GB / 0.7952 GB, free: 35.24 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.002134/0.002134, allocations: 62.67 kB / 1.154 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.41, allocations: 176.1 MB / 1.326 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2328/0.6428, allocations: 153.1 MB / 1.476 GB, free: 7.371 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003916/0.6467, allocations: 1.763 MB / 1.478 GB, free: 5.605 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003608/0.6471, allocations: 27.69 kB / 1.478 GB, free: 5.578 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008388/0.6479, allocations: 218.5 kB / 1.478 GB, free: 5.363 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.6502, allocations: 0.7661 MB / 1.479 GB, free: 4.594 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.6527, allocations: 0.8524 MB / 1.479 GB, free: 3.742 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.654, allocations: 0.8534 MB / 1.48 GB, free: 2.887 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.6545, allocations: 227.5 kB / 1.48 GB, free: 2.66 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.6558, allocations: 0.5956 MB / 1.481 GB, free: 2.062 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.6562, allocations: 262.9 kB / 1.481 GB, free: 1.805 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.6562, allocations: 24 kB / 1.481 GB, free: 1.781 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.658, allocations: 0.892 MB / 1.482 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.6581, allocations: 131.5 kB / 1.482 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.6584, allocations: 167.2 kB / 1.482 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.6598, allocations: 0.8802 MB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6598, allocations: 0 / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6598, allocations: 0 / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.6598, allocations: 0 / 1.483 GB, free: 15.71 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.00197/0.6618, allocations: 0.7184 MB / 1.484 GB, free: 14.96 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.6619, allocations: 12.03 kB / 1.484 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.6629, allocations: 163.5 kB / 1.484 GB, free: 14.79 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006891/0.6636, allocations: 299.7 kB / 1.484 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.6636, allocations: 20.66 kB / 1.484 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.6637, allocations: 35.92 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.6645, allocations: 391.5 kB / 1.485 GB, free: 14 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.6645, allocations: 0 / 1.485 GB, free: 14 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.6645, allocations: 12 kB / 1.485 GB, free: 13.99 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.93e-05/0.6646, allocations: 12.59 kB / 1.485 GB, free: 13.98 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000798/0.6654, allocations: 350.3 kB / 1.485 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.6674, allocations: 1.226 MB / 1.486 GB, free: 12.36 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/0.668, allocations: 232.2 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.6683, allocations: 128.8 kB / 1.487 GB, free: 11.99 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005308/0.6688, allocations: 75.92 kB / 1.487 GB, free: 11.92 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.6688, allocations: 34.56 kB / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.6688, allocations: 0 / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001075/0.6699, allocations: 382.7 kB / 1.487 GB, free: 11.5 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.67, allocations: 59.41 kB / 1.487 GB, free: 11.43 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.6703, allocations: 268.2 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.6704, allocations: 25.7 kB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.6705, allocations: 208.5 kB / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.6706, allocations: 71.39 kB / 1.488 GB, free: 10.84 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.6707, allocations: 49.69 kB / 1.488 GB, free: 10.79 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.6709, allocations: 342.8 kB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.6711, allocations: 87.94 kB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.6715, allocations: 237.4 kB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.672, allocations: 259.1 kB / 1.489 GB, free: 9.816 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.672, allocations: 3.938 kB / 1.489 GB, free: 9.812 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006652/0.6727, allocations: 297.2 kB / 1.489 GB, free: 9.516 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6727, allocations: 4 kB / 1.489 GB, free: 9.512 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6727, allocations: 4 kB / 1.489 GB, free: 9.508 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.6728, allocations: 4 kB / 1.489 GB, free: 9.504 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.673, allocations: 51.91 kB / 1.489 GB, free: 9.453 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.673, allocations: 0 / 1.489 GB, free: 9.453 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.6733, allocations: 28.06 kB / 1.489 GB, free: 9.426 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.6733, allocations: 15.98 kB / 1.489 GB, free: 9.41 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.0002105/0.6735, allocations: 157.7 kB / 1.489 GB, free: 9.246 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.6736, allocations: 27.81 kB / 1.489 GB, free: 9.219 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.6743, allocations: 297.5 kB / 1.49 GB, free: 8.918 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6743, allocations: 7.938 kB / 1.49 GB, free: 8.91 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.6743, allocations: 3.984 kB / 1.49 GB, free: 8.906 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.6743, allocations: 7.969 kB / 1.49 GB, free: 8.898 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.6757, allocations: 0.7918 MB / 1.49 GB, free: 8.035 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6757, allocations: 0 / 1.49 GB, free: 8.035 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.676, allocations: 44.25 kB / 1.49 GB, free: 7.992 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.676, allocations: 11.94 kB / 1.49 GB, free: 7.98 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.676, allocations: 11.98 kB / 1.491 GB, free: 7.969 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.676, allocations: 7.984 kB / 1.491 GB, free: 7.961 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.676, allocations: 4 kB / 1.491 GB, free: 7.957 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.6767, allocations: 438.4 kB / 1.491 GB, free: 7.48 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.6769, allocations: 51.78 kB / 1.491 GB, free: 7.43 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.6769, allocations: 11.94 kB / 1.491 GB, free: 7.418 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.6771, allocations: 15.98 kB / 1.491 GB, free: 7.402 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.6772, allocations: 19.92 kB / 1.491 GB, free: 7.383 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.6772, allocations: 11.98 kB / 1.491 GB, free: 7.371 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002386/0.6775, allocations: 191.1 kB / 1.491 GB, free: 7.184 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6775, allocations: 0 / 1.491 GB, free: 7.184 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004886/0.6779, allocations: 107.8 kB / 1.491 GB, free: 7.078 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.0003044/0.6782, allocations: 170.9 kB / 1.491 GB, free: 6.902 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.6788, allocations: 235.6 kB / 1.492 GB, free: 6.672 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6788, allocations: 0 / 1.492 GB, free: 6.672 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.6791, allocations: 124.9 kB / 1.492 GB, free: 6.551 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/0.68, allocations: 145.6 kB / 1.492 GB, free: 6.41 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.6812, allocations: 0.6139 MB / 1.493 GB, free: 5.73 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.6814, allocations: 201.1 kB / 1.493 GB, free: 5.516 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.6817, allocations: 70.92 kB / 1.493 GB, free: 5.445 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.6818, allocations: 27.44 kB / 1.493 GB, free: 5.418 MB / 1.186 GB Notification: Performance of SimCode: time 4.81e-07/0.6818, allocations: 0 / 1.493 GB, free: 5.418 MB / 1.186 GB Notification: Performance of Templates: time 0.01338/0.6951, allocations: 6.315 MB / 1.499 GB, free: 15.27 MB / 1.201 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.240418568719178]