Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_9_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_9_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.001475/0.001475, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001524/0.001524, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.651/1.651, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 63.91 kB / 0.9516 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9407/0.9423, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002294/0.9446, allocations: 0.6322 MB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000566/0.9452, allocations: 200.2 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.9453, allocations: 0 / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.9453, allocations: 3.938 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.9456, allocations: 11.44 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.9458, allocations: 72.22 kB / 1.09 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.26e-05/0.946, allocations: 35.03 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.946, allocations: 3.219 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.9461, allocations: 16.62 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.448e-05/0.9462, allocations: 19.75 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.9462, allocations: 2.25 kB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.9465, allocations: 109.1 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.9465, allocations: 12.41 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.9466, allocations: 16.5 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.9468, allocations: 101.6 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.9468, allocations: 0.7969 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.547e-06/0.9468, allocations: 0 / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.9469, allocations: 7.938 kB / 1.09 GB, free: 4.809 MB / 0.8575 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.0005643/0.9474, allocations: 367.1 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.9475, allocations: 9.859 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.9475, allocations: 7.781 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.9477, allocations: 171.1 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.9477, allocations: 5.438 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.9477, allocations: 2.484 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.9479, allocations: 57.2 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.948, allocations: 192 / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.948, allocations: 4.453 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.948, allocations: 1.062 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.9482, allocations: 37.73 kB / 1.09 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.9485, allocations: 248.7 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.9488, allocations: 74.8 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.949, allocations: 25.64 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.949, allocations: 0.8438 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.949, allocations: 36.58 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.949, allocations: 0 / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.03425/0.9833, allocations: 1.617 MB / 1.092 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.9834, allocations: 52.59 kB / 1.092 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.9835, allocations: 124.2 kB / 1.093 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/0.9836, allocations: 26.39 kB / 1.093 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.9837, allocations: 91.44 kB / 1.093 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/0.9838, allocations: 29.7 kB / 1.093 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002765/0.9841, allocations: 24.05 kB / 1.093 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.9841, allocations: 322.8 kB / 1.093 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007674/0.9849, allocations: 144.1 kB / 1.093 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/0.9856, allocations: 145.6 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.9871, allocations: 292.5 kB / 1.094 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9871, allocations: 0 / 1.094 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001892/0.989, allocations: 335.6 kB / 1.094 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.989, allocations: 5.469 kB / 1.094 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.989, allocations: 0.75 kB / 1.094 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/0.9891, allocations: 1.438 kB / 1.094 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/0.9911, allocations: 64.72 kB / 1.094 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.9911, allocations: 0 / 1.094 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.9928, allocations: 45.33 kB / 1.094 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.021e-05/0.9929, allocations: 4.156 kB / 1.094 GB, free: 2.648 MB / 0.8575 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.0002184/0.9931, allocations: 124.8 kB / 1.094 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.9932, allocations: 7.562 kB / 1.094 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.9934, allocations: 20.34 kB / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.9934, allocations: 0.7812 kB / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.9934, allocations: 0 / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.9934, allocations: 1.891 kB / 1.094 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005769/0.9992, allocations: 0.8375 MB / 1.095 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9992, allocations: 0.8438 kB / 1.095 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1, allocations: 63.84 kB / 1.095 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/1, allocations: 1.781 kB / 1.095 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/1, allocations: 7.422 kB / 1.095 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/1, allocations: 5.484 kB / 1.095 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1, allocations: 1.844 kB / 1.095 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009673/1.001, allocations: 316.1 kB / 1.095 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/1.001, allocations: 88.62 kB / 1.096 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/1.001, allocations: 2.531 kB / 1.096 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/1.002, allocations: 47.03 kB / 1.096 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/1.002, allocations: 8.312 kB / 1.096 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/1.003, allocations: 4.531 kB / 1.096 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.616e-05/1.003, allocations: 96.3 kB / 1.096 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.003, allocations: 4 kB / 1.096 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004569/1.003, allocations: 92.81 kB / 1.096 GB, free: 1.711 MB / 0.8575 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.0002567/1.003, allocations: 115.7 kB / 1.096 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001067/1.004, allocations: 245.6 kB / 1.096 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.004, allocations: 0 / 1.096 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004346/1.005, allocations: 100.7 kB / 1.096 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/1.005, allocations: 6.734 kB / 1.096 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/1.008, allocations: 328.8 kB / 1.097 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/1.008, allocations: 0.6905 MB / 1.097 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/1.008, allocations: 16.86 kB / 1.097 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/1.008, allocations: 0.6562 kB / 1.097 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of Templates: time 0.01396/1.022, allocations: 5.055 MB / 1.102 GB, free: 432 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches