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.001086/0.001086, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001096/0.002181, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007028/0.0007028, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001477/0.002179, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1147/1.172, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.474/2.474, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2495/2.724, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.352e-06/1.352e-06, allocations: 0 / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.302e-05, allocations: 6.25 kB / 0.8184 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001189/0.001212, allocations: 0.6773 MB / 0.819 GB, free: 2.172 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.002633, allocations: 1.439 MB / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.002662, allocations: 0 / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.236e-05/0.002704, allocations: 4 kB / 0.8204 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.639e-05/0.002731, allocations: 7.875 kB / 0.8204 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.003151, allocations: 151.5 kB / 0.8206 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.003254, allocations: 47.91 kB / 0.8206 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.003287, allocations: 8 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.688e-05/0.003343, allocations: 23.97 kB / 0.8207 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.772e-05/0.003401, allocations: 19.97 kB / 0.8207 GB, free: 468 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.003414, allocations: 4 kB / 0.8207 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.003713, allocations: 243.5 kB / 0.8209 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.003748, allocations: 11.94 kB / 0.8209 GB, free: 208 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.003772, allocations: 8 kB / 0.8209 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.003981, allocations: 187.5 kB / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.003996, allocations: 0 / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003997, allocations: 0 / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.004011, allocations: 4 kB / 0.8211 GB, free: 8 kB / 0.7917 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.0003853/0.004397, allocations: 359.5 kB / 0.8215 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.749e-05/0.004424, allocations: 8.625 kB / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.004457, allocations: 4.938 kB / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.468e-05/0.004542, allocations: 129.6 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.004553, allocations: 4.359 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.004563, allocations: 4.375 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.004672, allocations: 94.75 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.004678, allocations: 192 / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.004685, allocations: 4.375 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.004689, allocations: 11.88 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.357e-05/0.004733, allocations: 65.67 kB / 0.8218 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.79e-05/0.004801, allocations: 63.81 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.33e-05/0.004864, allocations: 80.23 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.004905, allocations: 62.62 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-06/0.004909, allocations: 4 kB / 0.822 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.00493, allocations: 34.56 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.004931, allocations: 0 / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.000189/0.00512, allocations: 214.7 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.005145, allocations: 51.41 kB / 0.8223 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.401e-05/0.005229, allocations: 153.1 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.005242, allocations: 29.7 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.005278, allocations: 88.11 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.005298, allocations: 11.91 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.005339, allocations: 25.69 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002939/0.005633, allocations: 326.8 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.005715, allocations: 114.2 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.005774, allocations: 107.4 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.005893, allocations: 192.6 kB / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005895, allocations: 0 / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001614/0.006056, allocations: 256.4 kB / 0.8235 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.006107, allocations: 79.44 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.006112, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.006122, allocations: 3.938 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-06/0.006126, allocations: 0 / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.00613, allocations: 4 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.006214, allocations: 15.83 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.00623, allocations: 4 kB / 0.8236 GB, free: 13.16 MB / 0.8073 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 8.275e-05/0.006313, allocations: 146.4 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.006325, allocations: 8 kB / 0.8237 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.421e-05/0.006339, allocations: 4.344 kB / 0.8238 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006341, allocations: 4 kB / 0.8238 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.006343, allocations: 3.984 kB / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.006346, allocations: 4 kB / 0.8238 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.336e-05/0.00641, allocations: 81.83 kB / 0.8238 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006411, allocations: 0 / 0.8238 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-07/0.006412, allocations: 0 / 0.8238 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.006422, allocations: 7.938 kB / 0.8238 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.006425, allocations: 4 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.00643, allocations: 3.938 kB / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006431, allocations: 0 / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.006432, allocations: 0 / 0.8239 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.006583, allocations: 218.1 kB / 0.8241 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.006595, allocations: 0 / 0.8241 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/0.006628, allocations: 4 kB / 0.8241 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.006672, allocations: 3.984 kB / 0.8241 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.006676, allocations: 4 kB / 0.8241 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.466e-05/0.0067, allocations: 27.19 kB / 0.8241 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0067, allocations: 0 / 0.8241 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002033/0.006904, allocations: 63.88 kB / 0.8242 GB, free: 12.52 MB / 0.8073 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.0002005/0.007104, allocations: 140.3 kB / 0.8243 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.007328, allocations: 328.7 kB / 0.8246 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.007333, allocations: 4 kB / 0.8246 GB, free: 12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.007402, allocations: 132.8 kB / 0.8247 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.797e-05/0.00748, allocations: 15.88 kB / 0.8248 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.007741, allocations: 215.4 kB / 0.825 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.076e-05/0.007772, allocations: 59.34 kB / 0.825 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.13e-06/0.007777, allocations: 0 / 0.825 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.007841, allocations: 67.38 kB / 0.8251 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.007841, allocations: 0 / 0.8251 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.003973/0.01181, allocations: 2.404 MB / 0.8274 GB, free: 9.055 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.ref.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.307380980812013]