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.0007768/0.0007768, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001797, 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.0007502/0.0007502, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009485/0.001699, 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.119/1.119, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08665/1.206, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.428/2.428, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2748/2.702, allocations: 145.9 MB / 0.817 GB, free: 4.223 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 1.923e-06/1.923e-06, allocations: 0 / 0.8184 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.302e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002196/0.002229, allocations: 0.6719 MB / 0.819 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.00452, allocations: 1.486 MB / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.418e-05/0.004554, allocations: 0 / 0.8205 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.623e-05/0.00461, allocations: 3.938 kB / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.837e-05/0.004639, allocations: 0 / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.005359, allocations: 199.3 kB / 0.8207 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.005471, allocations: 35.92 kB / 0.8207 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.268e-05/0.005514, allocations: 0 / 0.8207 GB, free: 448 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.005605, allocations: 23.97 kB / 0.8207 GB, free: 424 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.005667, allocations: 19.97 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.005681, allocations: 7.938 kB / 0.8207 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005435/0.006224, allocations: 283.6 kB / 0.821 GB, free: 112 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.006263, allocations: 15.94 kB / 0.821 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.006294, allocations: 4 kB / 0.821 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.006685, allocations: 215.4 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-05/0.006705, allocations: 0 / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006706, allocations: 0 / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.07e-05/0.006727, allocations: 0 / 0.8212 GB, free: 15.88 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.0004624/0.007189, allocations: 325.9 kB / 0.8216 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.00723, allocations: 12.03 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.007273, allocations: 4.938 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.00739, allocations: 113.7 kB / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.007404, allocations: 384 / 0.8217 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.007417, allocations: 8.375 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.007568, allocations: 82.75 kB / 0.8218 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.007575, allocations: 192 / 0.8218 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.007584, allocations: 4.375 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.007592, allocations: 3.938 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.007637, allocations: 45.62 kB / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.087e-05/0.007728, allocations: 59.88 kB / 0.8219 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.739e-05/0.007805, allocations: 64.27 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.141e-05/0.007847, allocations: 54.58 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.468e-06/0.007851, allocations: 0 / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.007876, allocations: 34.56 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.007877, allocations: 0 / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002048/0.008082, allocations: 182.8 kB / 0.8222 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.008116, allocations: 59.41 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.008194, allocations: 118.6 kB / 0.8224 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.008208, allocations: 25.7 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.008236, allocations: 80.14 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.008279, allocations: 31.72 kB / 0.8225 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-05/0.008324, allocations: 17.72 kB / 0.8225 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.008425, allocations: 322.8 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.008477, allocations: 52.52 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.544e-05/0.008512, allocations: 45.72 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.008601, allocations: 103 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.008603, allocations: 0 / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001279/0.008731, allocations: 125.1 kB / 0.8231 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.008778, allocations: 41.69 kB / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.008783, allocations: 0 / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.008792, allocations: 0 / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-06/0.008797, allocations: 0 / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.0088, allocations: 0 / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.008868, allocations: 11.92 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.008888, allocations: 4 kB / 0.8232 GB, free: 13.64 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 9.598e-05/0.008984, allocations: 150.4 kB / 0.8233 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.009003, allocations: 11.98 kB / 0.8233 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.009021, allocations: 8.438 kB / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.009023, allocations: 4 kB / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.009025, allocations: 0 / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.009028, allocations: 0 / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.824e-05/0.009096, allocations: 69.83 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.009098, allocations: 0 / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-07/0.009099, allocations: 4 kB / 0.8234 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.009108, allocations: 7.938 kB / 0.8234 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.00911, allocations: 7.938 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.009118, allocations: 4 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.00912, allocations: 0 / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.009121, allocations: 0 / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.009303, allocations: 178.1 kB / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.009315, allocations: 0 / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.00935, allocations: 4 kB / 0.8236 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.009369, allocations: 15.92 kB / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.009381, allocations: 4 kB / 0.8236 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.952e-05/0.009401, allocations: 13.47 kB / 0.8236 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.009401, allocations: 0 / 0.8236 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003186/0.00972, allocations: 79.89 kB / 0.8237 GB, free: 13.02 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.0002991/0.01002, allocations: 156.2 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.01022, allocations: 191.5 kB / 0.8241 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.01022, allocations: 0 / 0.8241 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.01031, allocations: 126.2 kB / 0.8242 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.123e-05/0.0104, allocations: 19.94 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.01069, allocations: 187.7 kB / 0.8244 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.01073, allocations: 59.34 kB / 0.8244 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.901e-06/0.01073, allocations: 4.125 kB / 0.8244 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-05/0.01081, allocations: 63.38 kB / 0.8245 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of SimCode: time 7.01e-07/0.01082, allocations: 0 / 0.8245 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.005213/0.01603, allocations: 2.385 MB / 0.8268 GB, free: 9.746 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6330054216086864]