Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.0007866/0.0007866, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001854, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007449/0.0007449, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009424/0.001687, allocations: 459.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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 0.9225/0.9225, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08918/1.012, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.848/1.848, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5064/2.355, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.285e-05, allocations: 4.547 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001633/0.001656, allocations: 0.6921 MB / 0.7301 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002875/0.001943, allocations: 189.3 kB / 0.7303 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.001968, allocations: 0 / 0.7303 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.633e-06/0.001975, allocations: 3.938 kB / 0.7303 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.579e-05/0.00204, allocations: 5.688 kB / 0.7303 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.002201, allocations: 74.16 kB / 0.7303 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.155e-05/0.002272, allocations: 29.3 kB / 0.7304 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.002317, allocations: 9.391 kB / 0.7304 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.002399, allocations: 23.69 kB / 0.7304 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.002466, allocations: 16.75 kB / 0.7304 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.002483, allocations: 4.766 kB / 0.7304 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.00261, allocations: 50.91 kB / 0.7305 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.002623, allocations: 6.406 kB / 0.7305 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.00264, allocations: 5.625 kB / 0.7305 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.002791, allocations: 80.69 kB / 0.7306 GB, free: 3.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.556e-05/0.002806, allocations: 4 kB / 0.7306 GB, free: 3.344 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.91e-07/0.002807, allocations: 0.5 kB / 0.7306 GB, free: 3.344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.002823, allocations: 0 / 0.7306 GB, free: 3.344 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004473/0.007297, allocations: 269.3 kB / 0.7308 GB, free: 3.055 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.007333, allocations: 9.469 kB / 0.7308 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.007366, allocations: 4.938 kB / 0.7308 GB, free: 3.043 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.007468, allocations: 113.7 kB / 0.7309 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.00748, allocations: 4.375 kB / 0.7309 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.0075, allocations: 5.031 kB / 0.7309 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.007621, allocations: 59.56 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.007633, allocations: 4.188 kB / 0.731 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.00764, allocations: 2.094 kB / 0.731 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.007645, allocations: 384 / 0.731 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.597e-05/0.007681, allocations: 19.92 kB / 0.731 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.007878, allocations: 144.3 kB / 0.7312 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.299e-05/0.007951, allocations: 38.44 kB / 0.7312 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.112e-05/0.007972, allocations: 13.75 kB / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.007992, allocations: 0.5625 kB / 0.7312 GB, free: 2.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.008023, allocations: 39.09 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.008024, allocations: 0 / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.02493/0.03296, allocations: 1.452 MB / 0.7327 GB, free: 1.086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.033, allocations: 52.56 kB / 0.7327 GB, free: 1.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.03309, allocations: 118.6 kB / 0.7328 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.03313, allocations: 33.7 kB / 0.7329 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.03318, allocations: 89.05 kB / 0.733 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.03324, allocations: 23.78 kB / 0.733 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.03339, allocations: 26.72 kB / 0.733 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.03347, allocations: 322.8 kB / 0.7333 GB, free: 396 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.03366, allocations: 71.94 kB / 0.7334 GB, free: 324 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.0341, allocations: 70.73 kB / 0.7334 GB, free: 256 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.03577, allocations: 148.8 kB / 0.7336 GB, free: 104 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.03577, allocations: 3.984 kB / 0.7336 GB, free: 100 kB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003871/0.03616, allocations: 177.6 kB / 0.7338 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.03618, allocations: 7.938 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.03619, allocations: 4 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.0362, allocations: 0 / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.03735, allocations: 62.52 kB / 0.7338 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.03736, allocations: 4 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007521/0.03811, allocations: 39.95 kB / 0.7339 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/0.03816, allocations: 0 / 0.7339 GB, free: 15.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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.0001579/0.03832, allocations: 117.8 kB / 0.734 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.03841, allocations: 7.984 kB / 0.734 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.03854, allocations: 21.03 kB / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.03855, allocations: 0 / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.03855, allocations: 0 / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.03855, allocations: 6.594 kB / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.04069, allocations: 476.1 kB / 0.7345 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.04069, allocations: 0 / 0.7345 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.04113, allocations: 51.94 kB / 0.7345 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.04115, allocations: 10.39 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.04115, allocations: 3.938 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.04117, allocations: 3.984 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.04118, allocations: 7.938 kB / 0.7345 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.04118, allocations: 0 / 0.7345 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.04147, allocations: 197.2 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.04151, allocations: 1.188 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.04183, allocations: 35.95 kB / 0.7348 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.04184, allocations: 10.12 kB / 0.7348 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.04187, allocations: 8.047 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.991e-05/0.04189, allocations: 16.8 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.04189, allocations: 0 / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002217/0.04211, allocations: 99.92 kB / 0.7349 GB, free: 14.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001836/0.04229, allocations: 100.8 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.04261, allocations: 121.6 kB / 0.7351 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.04262, allocations: 4 kB / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.04273, allocations: 41.47 kB / 0.7352 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.04289, allocations: 16.61 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.04384, allocations: 238.8 kB / 0.7354 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.351e-05/0.04387, allocations: 59.84 kB / 0.7355 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002487/0.04412, allocations: 49.25 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003846/0.0445, allocations: 60.42 kB / 0.7356 GB, free: 14 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/0.04451, allocations: 0 / 0.7356 GB, free: 14 MB / 0.7136 GB Notification: Performance of Templates: time 0.01113/0.05564, allocations: 9.914 MB / 0.7452 GB, free: 4.156 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.159759773872793]