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.001061/0.001061, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001082/0.001082, allocations: 181 kB / 23.36 MB, free: 1.133 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.1/1.1, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.507/2.507, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.345e-06/2.345e-06, allocations: 0 / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.325e-05, allocations: 6.109 kB / 0.8387 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002105/0.002138, allocations: 0.6775 MB / 0.8393 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.004384, allocations: 1.478 MB / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.004412, allocations: 0 / 0.8408 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.376e-05/0.004465, allocations: 3.984 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.004508, allocations: 3.938 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.005167, allocations: 191.5 kB / 0.841 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.005258, allocations: 31.98 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.0053, allocations: 15.86 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.702e-05/0.005347, allocations: 19.92 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.174e-05/0.005399, allocations: 19.97 kB / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.005411, allocations: 0 / 0.8411 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005928/0.006004, allocations: 299.5 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.006033, allocations: 4 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.006058, allocations: 8 kB / 0.8414 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.006404, allocations: 275.3 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.006407, allocations: 7.938 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.82e-07/0.006408, allocations: 0 / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.006412, allocations: 0 / 0.8416 GB, free: 11.07 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.000321/0.006733, allocations: 298.3 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.006767, allocations: 12.02 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.0068, allocations: 4.938 kB / 0.8419 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.00691, allocations: 117.7 kB / 0.842 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.006922, allocations: 4.375 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.006931, allocations: 384 / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.007047, allocations: 78.77 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.007054, allocations: 192 / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.007063, allocations: 4.375 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.007071, allocations: 11.92 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.736e-05/0.007109, allocations: 37.64 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.271e-05/0.007192, allocations: 63.81 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.007263, allocations: 64.25 kB / 0.8423 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.007305, allocations: 46.58 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-06/0.007308, allocations: 0 / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.007333, allocations: 34.56 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.007334, allocations: 0 / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001967/0.00753, allocations: 166.7 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.007571, allocations: 89.12 kB / 0.8426 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.007644, allocations: 110.8 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.007657, allocations: 25.7 kB / 0.8427 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.007683, allocations: 88.12 kB / 0.8428 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.007717, allocations: 15.86 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.007764, allocations: 25.69 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.007854, allocations: 318.8 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.007897, allocations: 44.52 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.007928, allocations: 37.69 kB / 0.8433 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.322e-05/0.008012, allocations: 99.05 kB / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008014, allocations: 4.031 kB / 0.8433 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000133/0.008147, allocations: 125 kB / 0.8435 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.008184, allocations: 37.69 kB / 0.8435 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.008188, allocations: 0 / 0.8435 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.0082, allocations: 0 / 0.8435 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.503e-06/0.008201, allocations: 4 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.008204, allocations: 0 / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.008266, allocations: 19.83 kB / 0.8435 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.008288, allocations: 8.609 kB / 0.8435 GB, free: 8.863 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 8.752e-05/0.008375, allocations: 150.4 kB / 0.8437 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.008394, allocations: 11.97 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.132e-05/0.008405, allocations: 8.438 kB / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008407, allocations: 0 / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.008408, allocations: 0 / 0.8437 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.008413, allocations: 4 kB / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.643e-05/0.008479, allocations: 73.81 kB / 0.8438 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.008481, allocations: 0 / 0.8438 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.008481, allocations: 0 / 0.8438 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008483, allocations: 0 / 0.8438 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.008492, allocations: 4 kB / 0.8438 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.008493, allocations: 0 / 0.8438 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008494, allocations: 0 / 0.8438 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.008668, allocations: 182 kB / 0.8439 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.008677, allocations: 7.953 kB / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.008686, allocations: 0 / 0.844 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.511e-05/0.008711, allocations: 15.98 kB / 0.844 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.008722, allocations: 0 / 0.844 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.008731, allocations: 4 kB / 0.844 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.391e-05/0.008745, allocations: 20.83 kB / 0.844 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008745, allocations: 0 / 0.844 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001659/0.008911, allocations: 67.88 kB / 0.8441 GB, free: 8.258 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.0001926/0.009103, allocations: 164.2 kB / 0.8442 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.009362, allocations: 171.6 kB / 0.8444 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.009365, allocations: 0 / 0.8444 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.00942, allocations: 129.9 kB / 0.8445 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.524e-05/0.009485, allocations: 19.78 kB / 0.8445 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001859/0.009671, allocations: 172 kB / 0.8447 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.707e-05/0.009698, allocations: 55.36 kB / 0.8447 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.867e-06/0.009702, allocations: 0 / 0.8447 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.009764, allocations: 67.36 kB / 0.8448 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of SimCode: time 4.01e-07/0.009764, allocations: 4.062 kB / 0.8448 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of Templates: time 0.003312/0.01308, allocations: 2.372 MB / 0.8471 GB, free: 5.023 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.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.383934827987105]