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.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.001861/0.001861, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002023/0.002023, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.542/1.542, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.84/2.84, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.953e-06/1.953e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.877e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001765/0.001793, allocations: 0.6244 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.004124, allocations: 1.406 MB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.004148, allocations: 1.469 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.402e-05/0.004212, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.971e-05/0.004252, allocations: 4 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.004946, allocations: 189.1 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.005071, allocations: 50.36 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.005103, allocations: 0 / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.005169, allocations: 27.97 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.005235, allocations: 23.91 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.005256, allocations: 4 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.005686, allocations: 203.7 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.005736, allocations: 15.92 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.005774, allocations: 9.75 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.006176, allocations: 239.3 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.006182, allocations: 4 kB / 0.7892 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.403e-06/0.006183, allocations: 0 / 0.7892 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.006188, allocations: 0 / 0.7892 GB, free: 9.977 MB / 0.7448 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.0005544/0.006742, allocations: 463.8 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.006777, allocations: 12.53 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.006828, allocations: 12.89 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.006956, allocations: 119.2 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.006973, allocations: 4.375 kB / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.006986, allocations: 4.312 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.007191, allocations: 125 kB / 0.7899 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.007199, allocations: 4.188 kB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.007209, allocations: 384 / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.007215, allocations: 9.25 kB / 0.7899 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.007346, allocations: 85.66 kB / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.007517, allocations: 128.7 kB / 0.7901 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.007683, allocations: 114.5 kB / 0.7902 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.007808, allocations: 101.4 kB / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.00782, allocations: 3.984 kB / 0.7903 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.007859, allocations: 37.39 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.542e-06/0.00786, allocations: 1.344 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0005008/0.008361, allocations: 302.6 kB / 0.7906 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.008428, allocations: 85.05 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.008609, allocations: 196.1 kB / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.008634, allocations: 30.23 kB / 0.7909 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.008736, allocations: 148.7 kB / 0.7911 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.008763, allocations: 15.84 kB / 0.7911 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.00883, allocations: 35.36 kB / 0.7911 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002756/0.009106, allocations: 0.4884 MB / 0.7916 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.009297, allocations: 147.3 kB / 0.7917 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.009471, allocations: 141.9 kB / 0.7919 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.009805, allocations: 260.7 kB / 0.7921 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.009807, allocations: 0 / 0.7921 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000452/0.01026, allocations: 336.3 kB / 0.7924 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.01034, allocations: 71.39 kB / 0.7925 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01035, allocations: 0 / 0.7925 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.01036, allocations: 0 / 0.7925 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.01036, allocations: 0.5312 kB / 0.7925 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.01037, allocations: 3.938 kB / 0.7925 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.01049, allocations: 12.67 kB / 0.7925 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.0105, allocations: 8.516 kB / 0.7925 GB, free: 6.203 MB / 0.7448 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.0001768/0.01068, allocations: 195.9 kB / 0.7927 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.01071, allocations: 7.953 kB / 0.7927 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.01073, allocations: 8.469 kB / 0.7927 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.01074, allocations: 7.984 kB / 0.7927 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.01075, allocations: 3.938 kB / 0.7927 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.01075, allocations: 0.5 kB / 0.7927 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.01088, allocations: 133.2 kB / 0.7929 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.01088, allocations: 0.7812 kB / 0.7929 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.01088, allocations: 3.938 kB / 0.7929 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01088, allocations: 0.9062 kB / 0.7929 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.0109, allocations: 11.98 kB / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.0109, allocations: 0 / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01091, allocations: 0.7812 kB / 0.7929 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.01128, allocations: 267.7 kB / 0.7931 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.01129, allocations: 17.22 kB / 0.7931 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.01131, allocations: 0 / 0.7931 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.445e-05/0.01136, allocations: 7.938 kB / 0.7932 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.01143, allocations: 8.828 kB / 0.7932 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01144, allocations: 7.938 kB / 0.7932 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.591e-05/0.01153, allocations: 145.5 kB / 0.7933 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01153, allocations: 1.281 kB / 0.7933 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002861/0.01182, allocations: 63.92 kB / 0.7934 GB, free: 5.246 MB / 0.7448 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.000311/0.01213, allocations: 156.3 kB / 0.7935 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.01263, allocations: 399.5 kB / 0.7939 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01263, allocations: 5.812 kB / 0.7939 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.01281, allocations: 160.7 kB / 0.7941 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.01295, allocations: 4 kB / 0.7941 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.01338, allocations: 248.3 kB / 0.7943 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.441e-05/0.01346, allocations: 81.7 kB / 0.7944 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.959e-06/0.01347, allocations: 0 / 0.7944 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.01349, allocations: 12.5 kB / 0.7944 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.01349, allocations: 0 / 0.7944 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of Templates: time 0.005871/0.01936, allocations: 2.167 MB / 0.7965 GB, free: 1.938 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.8432590829906985]