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.001497/0.001497, allocations: 108 kB / 16.41 MB, free: 6.027 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.001609/0.00161, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.17 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.29/2.29, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002549/1.071, allocations: 0.6459 MB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006109/1.071, allocations: 207.2 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/1.071, allocations: 0 / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.098e-05/1.071, allocations: 0 / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002439/1.072, allocations: 7.922 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/1.072, allocations: 80.75 kB / 1.09 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/1.072, allocations: 27.44 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.639e-05/1.072, allocations: 3.328 kB / 1.09 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/1.072, allocations: 15.91 kB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/1.072, allocations: 23.86 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/1.072, allocations: 2.344 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/1.073, allocations: 108.6 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.448e-05/1.073, allocations: 8.328 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/1.073, allocations: 13.22 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/1.073, allocations: 108.7 kB / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/1.073, allocations: 0 / 1.09 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.399e-06/1.073, allocations: 4.812 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.494e-06/1.073, allocations: 4.734 kB / 1.09 GB, free: 4.816 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.0006166/1.074, allocations: 367 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/1.074, allocations: 9.844 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/1.074, allocations: 7.641 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/1.074, allocations: 166.5 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.074, allocations: 1.469 kB / 1.09 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/1.074, allocations: 11.09 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/1.074, allocations: 56.53 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/1.074, allocations: 1.312 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/1.074, allocations: 3.938 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/1.074, allocations: 4.625 kB / 1.09 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/1.075, allocations: 33.55 kB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/1.075, allocations: 248.9 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/1.075, allocations: 74.84 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/1.075, allocations: 25.72 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/1.075, allocations: 0.875 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/1.075, allocations: 32.3 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/1.075, allocations: 4 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0288/1.104, allocations: 1.609 MB / 1.092 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/1.104, allocations: 53.31 kB / 1.092 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/1.104, allocations: 116.9 kB / 1.093 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/1.104, allocations: 33.7 kB / 1.093 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/1.105, allocations: 87.73 kB / 1.093 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/1.105, allocations: 28.53 kB / 1.093 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/1.105, allocations: 29.09 kB / 1.093 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.623e-05/1.105, allocations: 318.7 kB / 1.093 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/1.105, allocations: 140.4 kB / 1.093 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/1.106, allocations: 150.1 kB / 1.093 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/1.107, allocations: 291.9 kB / 1.094 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.107, allocations: 0.8125 kB / 1.094 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001284/1.108, allocations: 339.2 kB / 1.094 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/1.108, allocations: 5.156 kB / 1.094 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.108, allocations: 1.562 kB / 1.094 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/1.108, allocations: 0.6875 kB / 1.094 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/1.11, allocations: 64.34 kB / 1.094 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.11, allocations: 0.5312 kB / 1.094 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.111, allocations: 49.38 kB / 1.094 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/1.112, allocations: 8.25 kB / 1.094 GB, free: 2.656 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.0001914/1.112, allocations: 120.6 kB / 1.094 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/1.112, allocations: 7.781 kB / 1.094 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/1.112, allocations: 18.23 kB / 1.094 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.112, allocations: 2.344 kB / 1.094 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.112, allocations: 0.75 kB / 1.094 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.112, allocations: 0.5625 kB / 1.094 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/1.118, allocations: 0.8418 MB / 1.095 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.118, allocations: 0.9688 kB / 1.095 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.12, allocations: 52.34 kB / 1.095 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/1.12, allocations: 9.547 kB / 1.095 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/1.12, allocations: 3.938 kB / 1.095 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.12, allocations: 8.5 kB / 1.095 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.12, allocations: 1.609 kB / 1.095 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/1.121, allocations: 320.4 kB / 1.095 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/1.121, allocations: 85.34 kB / 1.096 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/1.121, allocations: 2.172 kB / 1.096 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.122, allocations: 46.62 kB / 1.096 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/1.122, allocations: 5.375 kB / 1.096 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/1.122, allocations: 4.531 kB / 1.096 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.723e-05/1.122, allocations: 99.84 kB / 1.096 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.122, allocations: 0 / 1.096 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005058/1.123, allocations: 96.5 kB / 1.096 GB, free: 1.723 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.0002683/1.123, allocations: 112.3 kB / 1.096 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001113/1.124, allocations: 253.6 kB / 1.096 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.124, allocations: 0 / 1.096 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000441/1.124, allocations: 91.89 kB / 1.096 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/1.125, allocations: 3.906 kB / 1.096 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/1.128, allocations: 329.1 kB / 1.097 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/1.128, allocations: 0.6885 MB / 1.097 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/1.128, allocations: 16.48 kB / 1.097 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of SimCode: time 1.052e-06/1.128, allocations: 0.875 kB / 1.097 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of Templates: time 0.01546/1.144, allocations: 5.057 MB / 1.102 GB, free: 448 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