Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "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: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002236/0.002236, allocations: 199.7 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.784/2.784, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8351, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002018/0.8371, allocations: 0.6156 MB / 1.275 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.8394, allocations: 1.4 MB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.8394, allocations: 4 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.869e-05/0.8395, allocations: 3.938 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.8395, allocations: 0 / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007715/0.8403, allocations: 179.5 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.8404, allocations: 43.97 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.8405, allocations: 8 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.8405, allocations: 19.92 kB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.8406, allocations: 27.94 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.8406, allocations: 4 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003942/0.841, allocations: 199.7 kB / 1.277 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.8411, allocations: 15.94 kB / 1.277 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.8411, allocations: 27.84 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.8414, allocations: 190.1 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8414, allocations: 0 / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8414, allocations: 0 / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.8414, allocations: 0 / 1.277 GB, free: 1.832 MB / 0.9669 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.0005839/0.842, allocations: 454.3 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8421, allocations: 8.031 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.8421, allocations: 12.89 kB / 1.277 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.8423, allocations: 176.3 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.8423, allocations: 4.359 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.8423, allocations: 8.375 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.8425, allocations: 97.95 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8425, allocations: 0 / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.8426, allocations: 0 / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8426, allocations: 4 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.8427, allocations: 67.89 kB / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.8429, allocations: 165.7 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.843, allocations: 78.52 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.8431, allocations: 64.89 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.8431, allocations: 4 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.8432, allocations: 38.5 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.8432, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004876/0.8437, allocations: 255.2 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.8437, allocations: 81.11 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.8439, allocations: 143.6 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.8439, allocations: 25.7 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.844, allocations: 96.03 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.844, allocations: 11.89 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.8441, allocations: 29.7 kB / 1.279 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.8442, allocations: 318.9 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.8444, allocations: 103.9 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.8445, allocations: 103.9 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.8448, allocations: 281.8 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8448, allocations: 3.938 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004328/0.8453, allocations: 324.8 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/0.8453, allocations: 67.39 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8453, allocations: 0 / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8454, allocations: 0 / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.8454, allocations: 8.062 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8454, allocations: 0 / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.8455, allocations: 19.81 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.8456, allocations: 4 kB / 1.28 GB, free: 14.55 MB / 0.9825 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 0.0001539/0.8457, allocations: 152.1 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.8457, allocations: 11.89 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.765e-05/0.8458, allocations: 4.25 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.8458, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8458, allocations: 0 / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8458, allocations: 8 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.8459, allocations: 169.6 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.8459, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-06/0.8459, allocations: 7.938 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.8459, allocations: 0 / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.846, allocations: 3.984 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.846, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.846, allocations: 7.938 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.8463, allocations: 226.7 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.8463, allocations: 93.12 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.8464, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.108e-05/0.8464, allocations: 8 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.8465, allocations: 15.95 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.8465, allocations: 0 / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.178e-05/0.8466, allocations: 117.2 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8466, allocations: 0 / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003263/0.8469, allocations: 59.94 kB / 1.281 GB, free: 13.57 MB / 0.9825 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.0003352/0.8472, allocations: 155.1 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.8477, allocations: 330.6 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8477, allocations: 0 / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.8479, allocations: 123.3 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.8481, allocations: 8 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.8486, allocations: 230.9 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.8491, allocations: 0.6925 MB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.334e-06/0.8491, allocations: 7.938 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/0.8491, allocations: 7.438 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.8491, allocations: 3.938 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.006559/0.8556, allocations: 2.068 MB / 1.284 GB, free: 9.871 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.867664627730846]