Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001357/0.001357, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001349/0.001349, allocations: 186 kB / 20.78 MB, free: 1.547 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.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 443.4 MB / 0.7304 GB, free: 14 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 71.89 kB / 1.059 GB, free: 332 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3323, allocations: 160.7 MB / 1.216 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001932/0.3343, allocations: 0.6406 MB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004531/0.3347, allocations: 207.1 kB / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.3348, allocations: 0 / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.3348, allocations: 0 / 1.217 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.3349, allocations: 3.938 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3351, allocations: 79.73 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.3352, allocations: 31.86 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.3353, allocations: 4 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.552e-05/0.3353, allocations: 15.97 kB / 1.217 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.3354, allocations: 23.86 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.3354, allocations: 4 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.3356, allocations: 107.7 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.3356, allocations: 11.98 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.3356, allocations: 7.922 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.3358, allocations: 115.6 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3358, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3358, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3358, allocations: 0 / 1.217 GB, free: 14.06 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.0005662/0.3364, allocations: 371.2 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3364, allocations: 8.031 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.3364, allocations: 8.891 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3367, allocations: 172.3 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3367, allocations: 384 / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.3367, allocations: 8.375 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3368, allocations: 54.17 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3369, allocations: 4.188 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3369, allocations: 3.938 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3369, allocations: 4 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.337, allocations: 35.95 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.3373, allocations: 245 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.3375, allocations: 74.41 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/0.3376, allocations: 24.94 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.3376, allocations: 0 / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.3377, allocations: 34.5 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3377, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.02733/0.365, allocations: 1.621 MB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.365, allocations: 51.41 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3652, allocations: 109.8 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/0.3652, allocations: 29.7 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.3653, allocations: 96.06 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.694e-05/0.3653, allocations: 19.81 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.3656, allocations: 33.7 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3657, allocations: 318.8 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.3662, allocations: 139.9 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.3666, allocations: 155.8 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.3676, allocations: 292.8 kB / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3676, allocations: 0 / 1.221 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00116/0.3688, allocations: 338 kB / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3688, allocations: 8 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3688, allocations: 0 / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.3688, allocations: 4.094 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.3704, allocations: 59.92 kB / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3704, allocations: 80 / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.3718, allocations: 55.92 kB / 1.222 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.384e-05/0.3719, allocations: 7.984 kB / 1.222 GB, free: 9.5 MB / 0.9669 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.0002518/0.3721, allocations: 125.7 kB / 1.222 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3722, allocations: 3.953 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.3723, allocations: 24.36 kB / 1.222 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3723, allocations: 0 / 1.222 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3723, allocations: 0 / 1.222 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3723, allocations: 0 / 1.222 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/0.3778, allocations: 0.8454 MB / 1.223 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3778, allocations: 0 / 1.223 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.3789, allocations: 51.94 kB / 1.223 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.3789, allocations: 4 kB / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.379, allocations: 0 / 1.223 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.286e-06/0.379, allocations: 11.88 kB / 1.223 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.379, allocations: 8.047 kB / 1.223 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.3799, allocations: 317.1 kB / 1.223 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.38, allocations: 85.06 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.38, allocations: 4 kB / 1.223 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.381, allocations: 43.89 kB / 1.223 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.381, allocations: 7.984 kB / 1.223 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.3811, allocations: 4 kB / 1.223 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.3812, allocations: 95.2 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3812, allocations: 0 / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004004/0.3816, allocations: 95.94 kB / 1.223 GB, free: 7.676 MB / 0.9669 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.0002172/0.3818, allocations: 123.1 kB / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009607/0.3827, allocations: 239.8 kB / 1.224 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3827, allocations: 0 / 1.224 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.3831, allocations: 96.06 kB / 1.224 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.3834, allocations: 8.469 kB / 1.224 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.386, allocations: 322.3 kB / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.3863, allocations: 0.6846 MB / 1.225 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004127/0.3867, allocations: 51.98 kB / 1.225 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.3871, allocations: 23.36 kB / 1.225 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.3871, allocations: 0 / 1.225 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of Templates: time 0.01325/0.4004, allocations: 8.832 MB / 1.233 GB, free: 13.2 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.497221674770117]