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.001344/0.001344, allocations: 108.6 kB / 16.41 MB, free: 6.453 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.001356/0.001356, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 64.12 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.835, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002043/0.8371, allocations: 0.6436 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005336/0.8376, allocations: 195.2 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.8377, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.8377, allocations: 3.938 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.8379, allocations: 3.938 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.8382, allocations: 83.73 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.8383, allocations: 31.86 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.554e-05/0.8384, allocations: 4 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.608e-05/0.8384, allocations: 19.91 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.8385, allocations: 15.92 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.8385, allocations: 4 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.8387, allocations: 107.7 kB / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.8388, allocations: 15.97 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.8388, allocations: 7.875 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.839, allocations: 107.8 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.839, allocations: 4 kB / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/0.839, allocations: 0 / 1.21 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.839, allocations: 0 / 1.21 GB, free: 12.34 MB / 0.9356 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.0006029/0.8397, allocations: 363.2 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.8397, allocations: 8.031 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.8398, allocations: 8.844 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.84, allocations: 168.4 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.84, allocations: 8.375 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.84, allocations: 8.281 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.8402, allocations: 50.23 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.8402, allocations: 192 / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.8402, allocations: 11.88 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.8402, allocations: 3.984 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.8404, allocations: 35.95 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.8408, allocations: 245 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.841, allocations: 66.47 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.8411, allocations: 28.88 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.8412, allocations: 4 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.8412, allocations: 42.48 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.8412, allocations: 0 / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.02746/0.8687, allocations: 1.614 MB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.8688, allocations: 51.41 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.869, allocations: 121.8 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/0.8691, allocations: 33.64 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.8691, allocations: 88.12 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/0.8692, allocations: 27.56 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.8695, allocations: 25.7 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8696, allocations: 326.8 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.8701, allocations: 135.9 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.8706, allocations: 143.9 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.8717, allocations: 300.7 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8717, allocations: 0 / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001201/0.8729, allocations: 338.1 kB / 1.214 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.8729, allocations: 4.094 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.8729, allocations: 3.938 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/0.873, allocations: 0 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.8745, allocations: 59.94 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8746, allocations: 0 / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.8759, allocations: 51.94 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.876, allocations: 4 kB / 1.214 GB, free: 7.793 MB / 0.9356 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.0001925/0.8762, allocations: 117.8 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.8763, allocations: 11.89 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.8764, allocations: 16.45 kB / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.8764, allocations: 0 / 1.214 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8764, allocations: 4 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8764, allocations: 0 / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005819/0.8823, allocations: 0.8454 MB / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8823, allocations: 0 / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.8834, allocations: 56 kB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.8835, allocations: 0 / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.8835, allocations: 11.98 kB / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.8835, allocations: 7.922 kB / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8835, allocations: 0 / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009262/0.8845, allocations: 317.1 kB / 1.215 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.8845, allocations: 85.02 kB / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/0.8846, allocations: 4 kB / 1.215 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.8857, allocations: 43.89 kB / 1.215 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.8857, allocations: 12.34 kB / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.8858, allocations: 0 / 1.215 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.8858, allocations: 103.3 kB / 1.215 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8858, allocations: 0 / 1.215 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004175/0.8863, allocations: 92 kB / 1.216 GB, free: 5.969 MB / 0.9356 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.0002824/0.8866, allocations: 123.2 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009907/0.8876, allocations: 239.9 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.8876, allocations: 480 / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.888, allocations: 99.88 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.8883, allocations: 4 kB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.8911, allocations: 328.2 kB / 1.216 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.8914, allocations: 0.6923 MB / 1.217 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/0.8918, allocations: 15.44 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.8918, allocations: 4 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.008583/0.9004, allocations: 5.056 MB / 1.222 GB, free: 15.32 MB / 0.9512 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/jenkins1/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