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.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.001882/0.001882, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002382/0.002382, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.034/3.034, allocations: 476 MB / 0.7707 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002282/0.002282, allocations: 70.09 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.342, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001909/0.3439, allocations: 0.6285 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004734/0.3444, allocations: 183.2 kB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.3444, allocations: 0 / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.3444, allocations: 4 kB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.3446, allocations: 11.94 kB / 1.285 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.3448, allocations: 75.73 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.715e-05/0.3449, allocations: 23.92 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.164e-05/0.3449, allocations: 4 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.3449, allocations: 15.92 kB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.257e-05/0.345, allocations: 23.91 kB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.345, allocations: 4 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3452, allocations: 51.81 kB / 1.285 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3452, allocations: 7.938 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.3452, allocations: 15.92 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3454, allocations: 87.72 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3454, allocations: 4 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3454, allocations: 3.938 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.3454, allocations: 0 / 1.285 GB, free: 10.79 MB / 0.9825 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.0005468/0.3459, allocations: 286.1 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.346, allocations: 8.031 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.346, allocations: 12.88 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3462, allocations: 118.4 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3462, allocations: 4.375 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.3462, allocations: 4.375 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.3464, allocations: 50.23 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3464, allocations: 192 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3464, allocations: 7.938 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3464, allocations: 0 / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.3465, allocations: 39.89 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.3468, allocations: 188.7 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.3471, allocations: 66.53 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.827e-05/0.3471, allocations: 24.94 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.3472, allocations: 7.922 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3472, allocations: 34.56 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3472, allocations: 0 / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.02798/0.3752, allocations: 1.613 MB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3752, allocations: 51.41 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3754, allocations: 129.7 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.3754, allocations: 25.7 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.3755, allocations: 96.08 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.3756, allocations: 23.75 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/0.3758, allocations: 25.7 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3759, allocations: 322.8 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.3764, allocations: 139.9 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000505/0.3769, allocations: 139.9 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.378, allocations: 308.6 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.378, allocations: 4 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001237/0.3792, allocations: 325.6 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.3792, allocations: 4 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3792, allocations: 0 / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3793, allocations: 432 / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.3808, allocations: 71.88 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3808, allocations: 4 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.3822, allocations: 47.94 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.3823, allocations: 4.656 kB / 1.289 GB, free: 6.473 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.0002005/0.3825, allocations: 119.1 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.3826, allocations: 7.953 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.3827, allocations: 24.36 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3827, allocations: 0 / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3827, allocations: 0 / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3827, allocations: 0 / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/0.3886, allocations: 0.7122 MB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.3886, allocations: 0 / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.3898, allocations: 51.94 kB / 1.29 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3898, allocations: 4.062 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.3898, allocations: 8 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3899, allocations: 3.984 kB / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3899, allocations: 0 / 1.29 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009998/0.3909, allocations: 329 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.028e-05/0.3909, allocations: 4 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.3909, allocations: 8 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.392, allocations: 43.89 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.392, allocations: 7.922 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.3921, allocations: 4 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.997e-05/0.3922, allocations: 99.27 kB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3922, allocations: 0 / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004117/0.3926, allocations: 87.94 kB / 1.29 GB, free: 4.898 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.0002401/0.3928, allocations: 115.2 kB / 1.291 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.3938, allocations: 248 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3938, allocations: 0 / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.3943, allocations: 95.88 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.3945, allocations: 2.5 kB / 1.291 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.3974, allocations: 334.3 kB / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.114e-05/0.3975, allocations: 71.33 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/0.3979, allocations: 11.44 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of SimCode: time 1.032e-06/0.3979, allocations: 0 / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of Templates: time 0.008347/0.4063, allocations: 5.086 MB / 1.296 GB, free: 14.86 MB / 0.9981 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 -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/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: 11.937067924067378]