Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.0007924/0.0007924, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001506/0.002298, 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.00107/0.00107, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002546, 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.9987/0.9987, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08553/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.492/2.492, allocations: 447.1 MB / 0.675 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.244/2.736, allocations: 146 MB / 0.8176 GB, free: 3.797 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.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 4 kB / 0.819 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/2.034e-05, allocations: 2.312 kB / 0.819 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001121/0.001141, allocations: 0.6801 MB / 0.8197 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.002493, allocations: 1.482 MB / 0.8211 GB, free: 224 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.002516, allocations: 3.938 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.002551, allocations: 3.938 kB / 0.8211 GB, free: 216 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.291e-05/0.002574, allocations: 4 kB / 0.8211 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.002966, allocations: 187.4 kB / 0.8213 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.653e-05/0.003052, allocations: 32.02 kB / 0.8213 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.003088, allocations: 11.92 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.003136, allocations: 15.94 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.00318, allocations: 23.97 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.00319, allocations: 0 / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.003519, allocations: 283.5 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.476e-05/0.003554, allocations: 15.98 kB / 0.8217 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.003576, allocations: 7.938 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.003803, allocations: 211.5 kB / 0.8219 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.003816, allocations: 11.94 kB / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003816, allocations: 0 / 0.8219 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.00383, allocations: 0 / 0.8219 GB, free: 15.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003273/0.004157, allocations: 317.9 kB / 0.8222 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.004185, allocations: 8.031 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.004219, allocations: 4.938 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.004306, allocations: 117.7 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.004316, allocations: 8.375 kB / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.004327, allocations: 384 / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.004432, allocations: 90.69 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.004439, allocations: 192 / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.004446, allocations: 384 / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.004452, allocations: 3.938 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.004481, allocations: 49.67 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.214e-05/0.004543, allocations: 63.88 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.0046, allocations: 68.27 kB / 0.8226 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.004628, allocations: 46.58 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-06/0.004632, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.004651, allocations: 38.5 kB / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 6.41e-07/0.004652, allocations: 0 / 0.8227 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001505/0.004802, allocations: 178.8 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.004825, allocations: 51.41 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.004884, allocations: 110.8 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.004894, allocations: 25.7 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.004913, allocations: 84.14 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.004946, allocations: 27.73 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.004977, allocations: 17.7 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.005048, allocations: 322.8 kB / 0.8234 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.005081, allocations: 52.55 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.005108, allocations: 49.62 kB / 0.8235 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.276e-05/0.005171, allocations: 103 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005172, allocations: 0 / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.065e-05/0.005263, allocations: 129 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.005298, allocations: 41.69 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.005303, allocations: 0 / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.005314, allocations: 0 / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.005315, allocations: 0 / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-06/0.005317, allocations: 4 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.066e-05/0.005367, allocations: 7.938 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.005384, allocations: 16.05 kB / 0.8238 GB, free: 13.17 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.593e-05/0.00545, allocations: 146.4 kB / 0.824 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.005461, allocations: 8 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.265e-05/0.005473, allocations: 12.38 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.005474, allocations: 0 / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.005476, allocations: 0 / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005478, allocations: 0 / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.088e-05/0.005529, allocations: 73.83 kB / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.00553, allocations: 0 / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-07/0.00553, allocations: 0 / 0.8241 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.005536, allocations: 11.95 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.005537, allocations: 0 / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.005543, allocations: 0 / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.005543, allocations: 4 kB / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.005544, allocations: 0 / 0.8241 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.005664, allocations: 178.7 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.005673, allocations: 4 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.005693, allocations: 7.984 kB / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.005705, allocations: 4 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.005711, allocations: 7.984 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.475e-05/0.005726, allocations: 20.83 kB / 0.8243 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005726, allocations: 7.969 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001627/0.005889, allocations: 71.88 kB / 0.8244 GB, free: 12.55 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: 0 () * Number of discrete states: 0 () * 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.0002054/0.006094, allocations: 164.1 kB / 0.8245 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.006261, allocations: 179.6 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.006269, allocations: 4 kB / 0.8247 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.006368, allocations: 125.9 kB / 0.8248 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.824e-05/0.006436, allocations: 22.86 kB / 0.8248 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.006641, allocations: 187.7 kB / 0.825 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.684e-05/0.006668, allocations: 63.55 kB / 0.8251 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.533e-06/0.006675, allocations: 3.984 kB / 0.8251 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.006738, allocations: 63.38 kB / 0.8251 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of SimCode: time 7.12e-07/0.006739, allocations: 0 / 0.8251 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of Templates: time 0.003536/0.01028, allocations: 2.431 MB / 0.8275 GB, free: 9.238 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.42937027476728]