Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001013/0.001013, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006403, allocations: 15.98 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.8822, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0008662/0.8831, allocations: 345.3 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.8849, allocations: 1.334 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.8849, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.553e-05/0.885, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.962e-05/0.8851, allocations: 7.984 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.8856, allocations: 135.7 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.8857, allocations: 31.97 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.8857, allocations: 7.984 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.8858, allocations: 23.86 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.8859, allocations: 23.97 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.8859, allocations: 4 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.8862, allocations: 179.7 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.8862, allocations: 15.92 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.8863, allocations: 37.64 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.8865, allocations: 123.8 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.8865, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8865, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.8865, allocations: 0 / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000405/0.8869, allocations: 428.5 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.887, allocations: 8.031 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.887, allocations: 11.91 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.8871, allocations: 172.4 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.8872, allocations: 8 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.8872, allocations: 0 / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.8874, allocations: 97.59 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.8874, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8874, allocations: 4 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.8874, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.786e-05/0.8875, allocations: 63.89 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.8877, allocations: 177.6 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.8878, allocations: 82.53 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.8879, allocations: 68.89 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.8879, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.8879, allocations: 34.52 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.888, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004199/0.8884, allocations: 255.1 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.8884, allocations: 85.03 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.8886, allocations: 139.6 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.8886, allocations: 29.73 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.392e-05/0.8887, allocations: 104 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.8887, allocations: 7.906 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.8887, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.8888, allocations: 322.8 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.889, allocations: 99.94 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.8891, allocations: 99.94 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.8893, allocations: 167.4 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8893, allocations: 0 / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003512/0.8896, allocations: 328.8 kB / 1.027 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.8897, allocations: 71.39 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.8897, allocations: 3.953 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.8897, allocations: 0 / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.494e-06/0.8897, allocations: 4 kB / 1.027 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.8897, allocations: 3.984 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.8899, allocations: 15.84 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.8899, allocations: 4 kB / 1.027 GB, free: 10.62 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.8901, allocations: 151.5 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.8901, allocations: 8.047 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.8901, allocations: 16.23 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.8901, allocations: 3.953 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8901, allocations: 3.984 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.8901, allocations: 0 / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.8902, allocations: 165.7 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.8903, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-06/0.8903, allocations: 3.984 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.8903, allocations: 3.938 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.8903, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8903, allocations: 4 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8903, allocations: 3.953 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.8906, allocations: 234.6 kB / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.8906, allocations: 81.02 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.8907, allocations: 4 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.8907, allocations: 4 kB / 1.028 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.8908, allocations: 11.94 kB / 1.028 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.8908, allocations: 4.031 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.8909, allocations: 109.1 kB / 1.028 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8909, allocations: 4 kB / 1.028 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003103/0.8912, allocations: 60 kB / 1.028 GB, free: 9.652 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002821/0.8915, allocations: 159.1 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.8919, allocations: 362.7 kB / 1.029 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8919, allocations: 0 / 1.029 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.8921, allocations: 147.3 kB / 1.029 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.8923, allocations: 7.938 kB / 1.029 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.8927, allocations: 211.3 kB / 1.029 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.893, allocations: 0.6926 MB / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.566e-06/0.893, allocations: 0 / 1.03 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.893, allocations: 15.44 kB / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.893, allocations: 0 / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of Templates: time 0.004441/0.8975, allocations: 1.878 MB / 1.032 GB, free: 6.109 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches