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.001124/0.001124, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001605/0.002729, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009379/0.0009379, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001205/0.002143, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9398/0.9398, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09857/1.038, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.816/1.816, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5175/2.334, allocations: 123.3 MB / 0.7283 GB, free: 5.73 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.332e-06/1.332e-06, allocations: 0 / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.407e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001083/0.001097, allocations: 0.6996 MB / 0.7304 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002225/0.001319, allocations: 186.5 kB / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.001343, allocations: 0.625 kB / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.571e-06/0.001348, allocations: 3.938 kB / 0.7306 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.036e-05/0.001409, allocations: 14.22 kB / 0.7306 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.001538, allocations: 69.92 kB / 0.7307 GB, free: 3.418 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.189e-05/0.0016, allocations: 35.31 kB / 0.7307 GB, free: 3.391 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.001639, allocations: 4.875 kB / 0.7307 GB, free: 3.387 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.615e-05/0.001716, allocations: 22.28 kB / 0.7307 GB, free: 3.367 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.392e-05/0.001789, allocations: 18.47 kB / 0.7307 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.001809, allocations: 4 kB / 0.7307 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.001943, allocations: 50.84 kB / 0.7308 GB, free: 3.301 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.001964, allocations: 5.531 kB / 0.7308 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.001983, allocations: 7.688 kB / 0.7308 GB, free: 3.293 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.002141, allocations: 77.91 kB / 0.7309 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.002152, allocations: 0 / 0.7309 GB, free: 3.219 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002153, allocations: 0 / 0.7309 GB, free: 3.219 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.002167, allocations: 0.6562 kB / 0.7309 GB, free: 3.219 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.0004819/0.002649, allocations: 270.4 kB / 0.7311 GB, free: 2.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.002687, allocations: 11.97 kB / 0.7311 GB, free: 2.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.002723, allocations: 4.938 kB / 0.7311 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.002836, allocations: 121.7 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.002848, allocations: 8.969 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.00287, allocations: 384 / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.002991, allocations: 63.62 kB / 0.7313 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.003, allocations: 1.906 kB / 0.7313 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.003008, allocations: 384 / 0.7313 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.003015, allocations: 384 / 0.7313 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.003049, allocations: 11.94 kB / 0.7313 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.003255, allocations: 148.2 kB / 0.7315 GB, free: 2.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.094e-05/0.003336, allocations: 39.34 kB / 0.7315 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.003363, allocations: 9.359 kB / 0.7315 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.003378, allocations: 0 / 0.7315 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.003404, allocations: 43.34 kB / 0.7316 GB, free: 2.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.003406, allocations: 0 / 0.7316 GB, free: 2.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.01113/0.01454, allocations: 1.625 MB / 0.7332 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.01457, allocations: 55.34 kB / 0.7332 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.807e-05/0.01463, allocations: 118.7 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.01467, allocations: 26.73 kB / 0.7334 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.01471, allocations: 84.09 kB / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.01475, allocations: 31.77 kB / 0.7335 GB, free: 456 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.01486, allocations: 26.61 kB / 0.7335 GB, free: 424 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.688e-05/0.01492, allocations: 318.8 kB / 0.7338 GB, free: 96 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.01506, allocations: 65.25 kB / 0.7339 GB, free: 32 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.0152, allocations: 68.41 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.01549, allocations: 156.9 kB / 0.7341 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.0155, allocations: 0 / 0.7341 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003592/0.01585, allocations: 176.4 kB / 0.7342 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.01587, allocations: 11.94 kB / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01587, allocations: 0 / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01588, allocations: 0 / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/0.01656, allocations: 67.86 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.01656, allocations: 0 / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.01701, allocations: 46.36 kB / 0.7344 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.01704, allocations: 0 / 0.7344 GB, free: 15.51 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.000104/0.01714, allocations: 117.8 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.393e-05/0.0172, allocations: 7.984 kB / 0.7345 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.631e-05/0.01728, allocations: 24.25 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01728, allocations: 4 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01728, allocations: 0 / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01729, allocations: 1.125 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.01924, allocations: 477 kB / 0.735 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01924, allocations: 0 / 0.735 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.0197, allocations: 52.59 kB / 0.735 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.01971, allocations: 8.703 kB / 0.735 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01971, allocations: 0 / 0.735 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.01973, allocations: 9.391 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01974, allocations: 0 / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01974, allocations: 0 / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.02003, allocations: 205.1 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.02006, allocations: 2.781 kB / 0.7352 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.02041, allocations: 36.02 kB / 0.7353 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.02042, allocations: 8 kB / 0.7353 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.02044, allocations: 3.984 kB / 0.7353 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.982e-05/0.02046, allocations: 20.86 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.02046, allocations: 0 / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004024/0.02086, allocations: 91.92 kB / 0.7354 GB, free: 14.41 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.0001609/0.02102, allocations: 106.7 kB / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.02134, allocations: 120.8 kB / 0.7356 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.02135, allocations: 4 kB / 0.7356 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.02147, allocations: 53.77 kB / 0.7357 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.02163, allocations: 21.95 kB / 0.7357 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000979/0.02261, allocations: 238.7 kB / 0.7359 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.02264, allocations: 58.08 kB / 0.736 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002446/0.02289, allocations: 52.08 kB / 0.736 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.02331, allocations: 59.36 kB / 0.7361 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of SimCode: time 6.62e-07/0.02331, allocations: 0 / 0.7361 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of Templates: time 0.009786/0.03309, allocations: 9.924 MB / 0.7458 GB, free: 3.836 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.229111284948885]