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.001828/0.001828, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.002255/0.002256, allocations: 194.8 kB / 16.25 MB, free: 6.645 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.569/1.569, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.573/2.573, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8603, allocations: 140.4 MB / 0.9491 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002681/0.8631, allocations: 0.6972 MB / 0.9498 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004164/0.8635, allocations: 198.2 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.8635, allocations: 0 / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.8636, allocations: 0 / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.8638, allocations: 13.23 kB / 0.95 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.864, allocations: 60.66 kB / 0.95 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.8641, allocations: 33.5 kB / 0.9501 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.8641, allocations: 6.734 kB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.8642, allocations: 13.44 kB / 0.9501 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.8643, allocations: 25.39 kB / 0.9501 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.8643, allocations: 6.75 kB / 0.9501 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.8645, allocations: 110.1 kB / 0.9502 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.8645, allocations: 1.375 kB / 0.9502 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.8645, allocations: 18.61 kB / 0.9502 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.8647, allocations: 106.5 kB / 0.9503 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8647, allocations: 0 / 0.9503 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8647, allocations: 0 / 0.9503 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.8647, allocations: 0 / 0.9503 GB, free: 8.238 MB / 0.7169 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.0005042/0.8652, allocations: 370 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.8653, allocations: 9.625 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.8653, allocations: 2.312 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.8654, allocations: 176.3 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.8655, allocations: 1.75 kB / 0.9509 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.8655, allocations: 11.11 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.8657, allocations: 59.91 kB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.8657, allocations: 192 / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.8657, allocations: 3.938 kB / 0.951 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.8657, allocations: 5.375 kB / 0.951 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.8659, allocations: 32.59 kB / 0.951 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.8661, allocations: 242.6 kB / 0.9512 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.8663, allocations: 70.08 kB / 0.9513 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.955e-05/0.8664, allocations: 37.59 kB / 0.9513 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.8664, allocations: 0 / 0.9513 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.8665, allocations: 32 kB / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.8665, allocations: 0 / 0.9514 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.02985/0.8963, allocations: 1.613 MB / 0.9529 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.8964, allocations: 52.59 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.8965, allocations: 119.8 kB / 0.9531 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/0.8966, allocations: 30.77 kB / 0.9531 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.8967, allocations: 89.33 kB / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.696e-05/0.8967, allocations: 19.17 kB / 0.9532 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.897, allocations: 33.2 kB / 0.9533 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.897, allocations: 320.8 kB / 0.9536 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.8975, allocations: 142.9 kB / 0.9537 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.898, allocations: 143.4 kB / 0.9538 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009675/0.8989, allocations: 296.7 kB / 0.9541 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.899, allocations: 0 / 0.9541 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001162/0.9001, allocations: 335.5 kB / 0.9544 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.9002, allocations: 5.094 kB / 0.9544 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.9002, allocations: 0.6562 kB / 0.9544 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.9002, allocations: 4 kB / 0.9545 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.9019, allocations: 63.23 kB / 0.9545 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.9019, allocations: 0 / 0.9545 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.9032, allocations: 51.19 kB / 0.9546 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.9033, allocations: 3.531 kB / 0.9546 GB, free: 5.348 MB / 0.7169 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.000172/0.9035, allocations: 120 kB / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.81e-05/0.9036, allocations: 10.06 kB / 0.9547 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.9037, allocations: 19 kB / 0.9547 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.9037, allocations: 5.469 kB / 0.9547 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9037, allocations: 3.938 kB / 0.9547 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.9037, allocations: 3.984 kB / 0.9547 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/0.9092, allocations: 0.8415 MB / 0.9555 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.9092, allocations: 0 / 0.9555 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.9103, allocations: 53.34 kB / 0.9556 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.9103, allocations: 0.7188 kB / 0.9556 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.9104, allocations: 2.25 kB / 0.9556 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.9104, allocations: 5.031 kB / 0.9556 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.9104, allocations: 1.578 kB / 0.9556 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008984/0.9113, allocations: 329.3 kB / 0.9559 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.9113, allocations: 79.86 kB / 0.956 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.9114, allocations: 9.359 kB / 0.956 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.9124, allocations: 50.08 kB / 0.956 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.9124, allocations: 6.734 kB / 0.9561 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.9125, allocations: 8.109 kB / 0.9561 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.9125, allocations: 87.53 kB / 0.9561 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9125, allocations: 5.312 kB / 0.9561 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000445/0.913, allocations: 98.08 kB / 0.9562 GB, free: 4.09 MB / 0.7169 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.0002714/0.9133, allocations: 121.7 kB / 0.9564 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.9143, allocations: 248.2 kB / 0.9566 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9143, allocations: 0 / 0.9566 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.9147, allocations: 93.61 kB / 0.9567 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.915, allocations: 7.953 kB / 0.9567 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.9178, allocations: 324 kB / 0.957 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.918, allocations: 0.6835 MB / 0.9577 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005427/0.9186, allocations: 52.42 kB / 0.9577 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000426/0.919, allocations: 13.31 kB / 0.9577 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.919, allocations: 0 / 0.9577 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.01986/0.9389, allocations: 8.748 MB / 0.9663 GB, free: 14.21 MB / 0.7325 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/jenkins/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