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.001113/0.001113, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002599, allocations: 440 kB / 10.41 MB, free: 284 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.001029/0.001029, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002315, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9419/0.9419, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08191/1.024, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.341/2.341, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2456/2.587, allocations: 146 MB / 0.8176 GB, free: 3.824 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.553e-06/1.553e-06, allocations: 0 / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.434e-05, allocations: 2.312 kB / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001557/0.001571, allocations: 0.68 MB / 0.8196 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.003319, allocations: 1.439 MB / 0.8211 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.003348, allocations: 0 / 0.8211 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.159e-05/0.00339, allocations: 3.938 kB / 0.8211 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/0.003417, allocations: 0 / 0.8211 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.003882, allocations: 167.4 kB / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.003995, allocations: 51.91 kB / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.046e-05/0.004025, allocations: 0 / 0.8213 GB, free: 76 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.398e-05/0.004089, allocations: 27.91 kB / 0.8213 GB, free: 48 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.004148, allocations: 27.95 kB / 0.8213 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.004162, allocations: 0 / 0.8213 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.004555, allocations: 235.6 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.004598, allocations: 15.94 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.00463, allocations: 11.94 kB / 0.8216 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.004904, allocations: 187.5 kB / 0.8218 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.004916, allocations: 7.938 kB / 0.8218 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004917, allocations: 4 kB / 0.8218 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.004932, allocations: 0 / 0.8218 GB, free: 15.57 MB / 0.8073 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.0004327/0.005365, allocations: 359.5 kB / 0.8221 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.005398, allocations: 12.03 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.00544, allocations: 4.938 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.005544, allocations: 113.7 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.005557, allocations: 4.375 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.005571, allocations: 384 / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.005707, allocations: 102.7 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.005714, allocations: 192 / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.005722, allocations: 4.375 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005729, allocations: 3.938 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.813e-05/0.005787, allocations: 65.62 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.653e-05/0.005873, allocations: 71.8 kB / 0.8225 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.131e-05/0.005954, allocations: 72.31 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.006012, allocations: 66.61 kB / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-06/0.006016, allocations: 0 / 0.8226 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.00604, allocations: 34.56 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 6.31e-07/0.006041, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0002453/0.006286, allocations: 222.7 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.006311, allocations: 55.44 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.006412, allocations: 140.9 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.006426, allocations: 29.7 kB / 0.8231 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.006465, allocations: 96.05 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.006487, allocations: 7.906 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.006537, allocations: 29.69 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.006631, allocations: 326.8 kB / 0.8235 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.006726, allocations: 110.2 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.544e-05/0.006821, allocations: 103.4 kB / 0.8237 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.006982, allocations: 200.7 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.006986, allocations: 4 kB / 0.8239 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002528/0.007238, allocations: 268.3 kB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.823e-05/0.007297, allocations: 75.38 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.007301, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.007313, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-06/0.007315, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.007317, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.007403, allocations: 15.83 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.007416, allocations: 4 kB / 0.8242 GB, free: 12.73 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.136e-05/0.007498, allocations: 150.4 kB / 0.8244 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.007511, allocations: 4 kB / 0.8244 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.616e-05/0.007527, allocations: 12.38 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.007529, allocations: 0 / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.007531, allocations: 0 / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007533, allocations: 0 / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.792e-05/0.007601, allocations: 77.81 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007602, allocations: 0 / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.007603, allocations: 0 / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-06/0.007613, allocations: 11.94 kB / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.007614, allocations: 144 / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.007622, allocations: 4 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007623, allocations: 0 / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.007625, allocations: 7.984 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.007798, allocations: 206 kB / 0.8247 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.007815, allocations: 4 kB / 0.8247 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.007845, allocations: 0 / 0.8247 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.007885, allocations: 7.984 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.007891, allocations: 4 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.69e-05/0.007918, allocations: 27.34 kB / 0.8247 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007918, allocations: 0 / 0.8247 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002406/0.008159, allocations: 63.88 kB / 0.8248 GB, free: 12.09 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.0003001/0.008459, allocations: 148.3 kB / 0.8249 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.008734, allocations: 324.7 kB / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.008738, allocations: 0 / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.008837, allocations: 140.7 kB / 0.8254 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.792e-05/0.008915, allocations: 11.94 kB / 0.8254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.009202, allocations: 213.6 kB / 0.8256 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.595e-05/0.009237, allocations: 59.34 kB / 0.8257 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.42e-06/0.009243, allocations: 4 kB / 0.8257 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.00933, allocations: 67.36 kB / 0.8257 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.00933, allocations: 4.188 kB / 0.8257 GB, free: 11 MB / 0.8073 GB Notification: Performance of Templates: time 0.004856/0.01419, allocations: 2.419 MB / 0.8281 GB, free: 8.598 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.254716177470982]