Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001802/0.001802, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001964/0.001964, allocations: 196 kB / 16.14 MB, free: 6.629 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.718/2.718, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 71.89 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6324/0.6344, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001834/0.6363, allocations: 0.6994 MB / 1.017 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004642/0.6368, allocations: 199.1 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.6368, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.6369, allocations: 3.938 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.637, allocations: 7.938 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.6372, allocations: 67.81 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.077e-05/0.6373, allocations: 19.98 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.6373, allocations: 7.984 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.6374, allocations: 23.86 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.6374, allocations: 15.92 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.6374, allocations: 4 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.6376, allocations: 111.7 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.6377, allocations: 11.97 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.6377, allocations: 11.88 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.6379, allocations: 107.8 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6379, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6379, allocations: 3.938 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.696e-06/0.6379, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.7637 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.0005834/0.6385, allocations: 371.6 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.6385, allocations: 12.03 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.6386, allocations: 0.9375 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.6388, allocations: 176.2 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.6388, allocations: 4.375 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.6388, allocations: 4.375 kB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.639, allocations: 54.23 kB / 1.018 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.639, allocations: 4.188 kB / 1.018 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.6391, allocations: 3.938 kB / 1.018 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.6391, allocations: 0 / 1.018 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.6392, allocations: 39.89 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.6396, allocations: 244.9 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.6398, allocations: 70.47 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.6399, allocations: 32.88 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.6399, allocations: 3.984 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.6399, allocations: 30.56 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.6399, allocations: 0 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of matching and sorting (n=8): time 0.03079/0.6707, allocations: 1.613 MB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.6708, allocations: 55.41 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.671, allocations: 121.8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/0.671, allocations: 25.7 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.6711, allocations: 92.05 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.425e-05/0.6712, allocations: 19.72 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.6714, allocations: 25.7 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6716, allocations: 322.8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/0.6721, allocations: 135.9 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.6727, allocations: 144.3 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.6738, allocations: 304.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6738, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001305/0.6751, allocations: 337.5 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6751, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6751, allocations: 3.984 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.6752, allocations: 0 / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.6768, allocations: 67.86 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.6768, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.6782, allocations: 47.95 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.6783, allocations: 4 kB / 1.022 GB, free: 12.97 MB / 0.7794 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.0002097/0.6785, allocations: 126.2 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.6786, allocations: 7.906 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.6788, allocations: 20.38 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6788, allocations: 4 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6788, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6788, allocations: 0 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00579/0.6846, allocations: 0.8416 MB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.6846, allocations: 0 / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.6857, allocations: 51.94 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6858, allocations: 3.938 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.6858, allocations: 16.05 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.6858, allocations: 3.938 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6859, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.6869, allocations: 317 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.6869, allocations: 85.02 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.687, allocations: 4 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.6881, allocations: 43.89 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.6881, allocations: 7.984 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.6882, allocations: 4 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.353e-05/0.6882, allocations: 99.3 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6883, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004402/0.6887, allocations: 92 kB / 1.024 GB, free: 11.14 MB / 0.7794 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.0002618/0.689, allocations: 115.2 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.69, allocations: 243.8 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6901, allocations: 0 / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.6905, allocations: 103.9 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.6908, allocations: 11.94 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.6935, allocations: 300.7 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.6939, allocations: 0.6926 MB / 1.025 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005601/0.6944, allocations: 52.14 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004836/0.6949, allocations: 19.42 kB / 1.025 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of SimCode: time 4.6e-07/0.6949, allocations: 4 kB / 1.025 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of Templates: time 0.01379/0.7087, allocations: 8.279 MB / 1.033 GB, free: 1.227 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches