Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006429/0.006428, allocations: 101.5 kB / 15.73 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 190.5 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 63.91 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3623, allocations: 157.4 MB / 1.208 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001971/0.3643, allocations: 0.6394 MB / 1.208 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005418/0.3649, allocations: 195.1 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.365, allocations: 0 / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.365, allocations: 3.938 kB / 1.209 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.3652, allocations: 11.88 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.3655, allocations: 75.73 kB / 1.209 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.3656, allocations: 27.86 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.3656, allocations: 8 kB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.389e-05/0.3657, allocations: 19.91 kB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.3658, allocations: 19.92 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3658, allocations: 0 / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.366, allocations: 111.7 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.366, allocations: 3.984 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.3661, allocations: 19.86 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3663, allocations: 107.8 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3663, allocations: 0 / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3663, allocations: 4 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3663, allocations: 0 / 1.209 GB, free: 8.355 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.000607/0.3669, allocations: 367.4 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3669, allocations: 8.625 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.367, allocations: 4.844 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.3672, allocations: 180.3 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3672, allocations: 384 / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3672, allocations: 4.375 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3674, allocations: 58.23 kB / 1.21 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3674, allocations: 4.188 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.3674, allocations: 3.938 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3674, allocations: 0 / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.3676, allocations: 39.89 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.3679, allocations: 245 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3681, allocations: 70.47 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.3682, allocations: 28.88 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.3682, allocations: 0 / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3682, allocations: 34.5 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3683, allocations: 0 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.02605/0.3943, allocations: 1.62 MB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.3944, allocations: 55.41 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3946, allocations: 113.8 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.3946, allocations: 30.08 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.3947, allocations: 92.12 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/0.3948, allocations: 23.56 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.395, allocations: 33.7 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3952, allocations: 322.7 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.3957, allocations: 139.9 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.3962, allocations: 143.9 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/0.3972, allocations: 296.7 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3972, allocations: 0 / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001182/0.3984, allocations: 337.4 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.3984, allocations: 8 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3984, allocations: 0 / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3985, allocations: 4 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.3998, allocations: 55.94 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3999, allocations: 0 / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.401, allocations: 51.94 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.4011, allocations: 4 kB / 1.213 GB, free: 3.805 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.0001884/0.4013, allocations: 117.8 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.4014, allocations: 4 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.4015, allocations: 24.36 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4015, allocations: 0 / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4015, allocations: 0 / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4015, allocations: 0 / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/0.4066, allocations: 0.8376 MB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.4067, allocations: 432 / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009573/0.4076, allocations: 52.22 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.4076, allocations: 7.938 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.4077, allocations: 0 / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.4077, allocations: 19.92 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4077, allocations: 4.062 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.4087, allocations: 325 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.4087, allocations: 85.09 kB / 1.215 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.4088, allocations: 4 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.4097, allocations: 43.89 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.4097, allocations: 7.984 kB / 1.215 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.4098, allocations: 4 kB / 1.215 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.84e-05/0.4099, allocations: 91.27 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4099, allocations: 0 / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004419/0.4103, allocations: 96 kB / 1.215 GB, free: 1.984 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.0002542/0.4106, allocations: 123.2 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009756/0.4116, allocations: 239.9 kB / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4116, allocations: 0 / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.412, allocations: 100 kB / 1.215 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.4123, allocations: 9.484 kB / 1.215 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.4146, allocations: 306.3 kB / 1.216 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.4149, allocations: 0.6846 MB / 1.216 GB, free: 484 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004462/0.4154, allocations: 56.12 kB / 1.216 GB, free: 428 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.4158, allocations: 19.42 kB / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.4158, allocations: 0 / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of Templates: time 0.01629/0.4321, allocations: 8.746 MB / 1.225 GB, free: 7.605 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches