Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 173 kB / 23.5 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.058/2.058, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.055e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001652/0.001682, allocations: 0.6395 MB / 0.8789 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.003432, allocations: 1.415 MB / 0.8802 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.003471, allocations: 3.938 kB / 0.8803 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.161e-05/0.003532, allocations: 7.984 kB / 0.8803 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4e-05/0.003572, allocations: 5.062 kB / 0.8803 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.004234, allocations: 181.1 kB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.00435, allocations: 47.94 kB / 0.8805 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.00439, allocations: 0.75 kB / 0.8805 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.004445, allocations: 27.92 kB / 0.8805 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.004501, allocations: 25.12 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.004515, allocations: 4 kB / 0.8805 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.004864, allocations: 211.6 kB / 0.8807 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.004919, allocations: 16.72 kB / 0.8808 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.004958, allocations: 15.92 kB / 0.8808 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.005269, allocations: 232 kB / 0.881 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.005272, allocations: 0 / 0.881 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.61e-07/0.005273, allocations: 1.094 kB / 0.881 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.005277, allocations: 0 / 0.881 GB, free: 3.789 MB / 0.8386 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.0004095/0.005687, allocations: 476.2 kB / 0.8814 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.005728, allocations: 12.03 kB / 0.8815 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.005782, allocations: 13.7 kB / 0.8815 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.005887, allocations: 114.9 kB / 0.8816 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.0059, allocations: 5.281 kB / 0.8816 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.005913, allocations: 4.375 kB / 0.8816 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.006082, allocations: 119.8 kB / 0.8817 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.006088, allocations: 3.844 kB / 0.8817 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.0061, allocations: 4.375 kB / 0.8817 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.00611, allocations: 3.938 kB / 0.8817 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.006187, allocations: 81.66 kB / 0.8818 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.006317, allocations: 136.6 kB / 0.8819 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.006422, allocations: 108.7 kB / 0.882 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.141e-05/0.006504, allocations: 93.42 kB / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.006509, allocations: 0 / 0.8821 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.006533, allocations: 37.33 kB / 0.8822 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.006534, allocations: 4.656 kB / 0.8822 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000335/0.006869, allocations: 291.2 kB / 0.8824 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.006909, allocations: 89.03 kB / 0.8825 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.007019, allocations: 198.4 kB / 0.8827 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.007031, allocations: 29.7 kB / 0.8827 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.007079, allocations: 143.9 kB / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.007101, allocations: 11.89 kB / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.00714, allocations: 32.91 kB / 0.8829 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.007253, allocations: 0.4923 MB / 0.8834 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.007357, allocations: 139.3 kB / 0.8835 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.919e-05/0.007446, allocations: 147.2 kB / 0.8837 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.007615, allocations: 252.7 kB / 0.8839 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007617, allocations: 4 kB / 0.8839 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002464/0.007864, allocations: 336.3 kB / 0.8842 GB, free: 148 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.007909, allocations: 71.39 kB / 0.8843 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.007914, allocations: 0 / 0.8843 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.007927, allocations: 0 / 0.8843 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.007928, allocations: 0 / 0.8843 GB, free: 64 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.007934, allocations: 3.938 kB / 0.8843 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.14e-05/0.008025, allocations: 19.88 kB / 0.8843 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.008034, allocations: 4 kB / 0.8843 GB, free: 36 kB / 0.8386 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.377e-05/0.008128, allocations: 190.3 kB / 0.8845 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.008144, allocations: 19.89 kB / 0.8845 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.008161, allocations: 8.328 kB / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008162, allocations: 0 / 0.8845 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.008168, allocations: 7.938 kB / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.008171, allocations: 0 / 0.8845 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.266e-05/0.008244, allocations: 128.6 kB / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.008246, allocations: 3.984 kB / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.008247, allocations: 0 / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.008249, allocations: 0 / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.008257, allocations: 0 / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.008258, allocations: 4 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008259, allocations: 4 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.008463, allocations: 267.8 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-06/0.008473, allocations: 7.953 kB / 0.8849 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.008487, allocations: 4 kB / 0.8849 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.008524, allocations: 4 kB / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.00858, allocations: 11.98 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.008586, allocations: 3.938 kB / 0.885 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.008635, allocations: 145.5 kB / 0.8851 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008635, allocations: 0 / 0.8851 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002223/0.008857, allocations: 71.86 kB / 0.8852 GB, free: 15.08 MB / 0.8542 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 (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.0002274/0.009085, allocations: 159.1 kB / 0.8853 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002756/0.009361, allocations: 383.5 kB / 0.8857 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.009363, allocations: 0 / 0.8857 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.009454, allocations: 156.7 kB / 0.8858 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001163/0.00957, allocations: 4 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.009869, allocations: 240.4 kB / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.326e-05/0.009903, allocations: 63.28 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.79e-06/0.009908, allocations: 0 / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.009925, allocations: 16.62 kB / 0.8861 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of SimCode: time 8.02e-07/0.009926, allocations: 3.938 kB / 0.8862 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.003774/0.0137, allocations: 2.211 MB / 0.8883 GB, free: 11.75 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.380220364080742]