Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 193.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 1.109 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9516/0.9535, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002927/0.9565, allocations: 0.6444 MB / 1.275 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.9573, allocations: 203.1 kB / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.9573, allocations: 0 / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.9574, allocations: 7.938 kB / 1.275 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.9576, allocations: 7.938 kB / 1.275 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.9579, allocations: 71.77 kB / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.958, allocations: 35.89 kB / 1.275 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.101e-05/0.9581, allocations: 4 kB / 1.275 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.9582, allocations: 15.86 kB / 1.275 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.9583, allocations: 23.91 kB / 1.275 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.9583, allocations: 0 / 1.275 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.9586, allocations: 111.7 kB / 1.275 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.9586, allocations: 4 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.9587, allocations: 19.86 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.9589, allocations: 110.4 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9589, allocations: 0 / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9589, allocations: 0 / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.959, allocations: 0 / 1.275 GB, free: 3.324 MB / 0.9669 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.0008063/0.9598, allocations: 371.1 kB / 1.276 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.9598, allocations: 8.031 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.9599, allocations: 8.891 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.9601, allocations: 180.3 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.9601, allocations: 4.375 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.9601, allocations: 4.375 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.9604, allocations: 50.23 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.9604, allocations: 4.141 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.9604, allocations: 3.938 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.9604, allocations: 0 / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.9606, allocations: 35.97 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.9611, allocations: 252.9 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.9615, allocations: 66.47 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.9616, allocations: 28.94 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.9616, allocations: 0 / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.9617, allocations: 34.56 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.9617, allocations: 0 / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.04868/1.01, allocations: 1.613 MB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/1.01, allocations: 59.34 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/1.011, allocations: 117.8 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/1.011, allocations: 25.7 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/1.011, allocations: 88.14 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/1.011, allocations: 35.67 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/1.011, allocations: 21.7 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000252/1.012, allocations: 322.8 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009143/1.012, allocations: 139.9 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/1.013, allocations: 144.3 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/1.015, allocations: 300.8 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.015, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002316/1.018, allocations: 337.5 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.018, allocations: 4 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/1.018, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/1.018, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/1.02, allocations: 67.86 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.02, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.023, allocations: 51.94 kB / 1.28 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.023, allocations: 4 kB / 1.28 GB, free: 14.77 MB / 0.9825 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.0003229/1.023, allocations: 114.3 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/1.023, allocations: 7.953 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/1.023, allocations: 20.38 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.023, allocations: 432 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.023, allocations: 0 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/1.023, allocations: 3.984 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008828/1.032, allocations: 0.8416 MB / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/1.032, allocations: 0 / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/1.034, allocations: 56 kB / 1.281 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/1.034, allocations: 7.984 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.65e-05/1.034, allocations: 4 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/1.034, allocations: 3.938 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.034, allocations: 4 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/1.035, allocations: 321.1 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/1.035, allocations: 85.05 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.035, allocations: 8 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.037, allocations: 43.95 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/1.037, allocations: 4 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/1.037, allocations: 12.08 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.617e-05/1.037, allocations: 99.16 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.037, allocations: 0 / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005949/1.038, allocations: 95.92 kB / 1.281 GB, free: 12.94 MB / 0.9825 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.0002788/1.038, allocations: 119.1 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.039, allocations: 247.8 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.039, allocations: 0 / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/1.039, allocations: 91.89 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/1.04, allocations: 4 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/1.042, allocations: 322.5 kB / 1.282 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/1.043, allocations: 0.6807 MB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003812/1.043, allocations: 51.98 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/1.044, allocations: 19.44 kB / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/1.044, allocations: 0 / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of Templates: time 0.0136/1.057, allocations: 8.844 MB / 1.291 GB, free: 2.465 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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: 9.2117606010288]