Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009778/0.0009778, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009782/0.0009782, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9384/0.9384, allocations: 177.2 MB / 204.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.71/1.71, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.034e-05, allocations: 4.422 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001861/0.001892, allocations: 0.6266 MB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002089/0.00398, allocations: 1.463 MB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.004019, allocations: 5.031 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.158e-05/0.00409, allocations: 3.938 kB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.004136, allocations: 4.984 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008257/0.004962, allocations: 220.7 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.005065, allocations: 35.91 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.005105, allocations: 5.062 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.005152, allocations: 19.97 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.005208, allocations: 19.97 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.00522, allocations: 5.562 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/0.00569, allocations: 263.5 kB / 0.7898 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.005731, allocations: 4 kB / 0.7898 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.005768, allocations: 11.92 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004054/0.006174, allocations: 269.3 kB / 0.79 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.006178, allocations: 3.938 kB / 0.79 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006179, allocations: 0 / 0.79 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.006185, allocations: 4 kB / 0.79 GB, free: 9.465 MB / 0.7448 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.000434/0.006619, allocations: 426 kB / 0.7905 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.006659, allocations: 10.31 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.006716, allocations: 12.88 kB / 0.7905 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.006817, allocations: 112.6 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.006832, allocations: 4.375 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.006844, allocations: 4.359 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.007005, allocations: 87.88 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.007012, allocations: 0.7812 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.007023, allocations: 2.031 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.007033, allocations: 7.938 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.68e-05/0.00708, allocations: 41.69 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.007205, allocations: 124.6 kB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.255e-05/0.007288, allocations: 73.59 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.007338, allocations: 53.41 kB / 0.791 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-06/0.007342, allocations: 0.6875 kB / 0.791 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.007372, allocations: 45.33 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.007374, allocations: 1.406 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002884/0.007663, allocations: 202.8 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.007712, allocations: 89.05 kB / 0.7913 GB, free: 8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.007819, allocations: 169.9 kB / 0.7914 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.007833, allocations: 28.08 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.007891, allocations: 134.9 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.007932, allocations: 19.86 kB / 0.7916 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.007978, allocations: 27.36 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.008126, allocations: 0.4884 MB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.008184, allocations: 49.69 kB / 0.7922 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.008229, allocations: 46.34 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.008338, allocations: 111.1 kB / 0.7923 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00834, allocations: 4.469 kB / 0.7923 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001706/0.008511, allocations: 150.7 kB / 0.7925 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.008552, allocations: 39.41 kB / 0.7925 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.008558, allocations: 4 kB / 0.7925 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.008573, allocations: 0 / 0.7925 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-06/0.008579, allocations: 4.656 kB / 0.7925 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.008585, allocations: 3.938 kB / 0.7925 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.614e-05/0.008661, allocations: 9.219 kB / 0.7925 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.008685, allocations: 7.984 kB / 0.7925 GB, free: 6.625 MB / 0.7448 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.979e-05/0.008784, allocations: 190.3 kB / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.008808, allocations: 17.09 kB / 0.7927 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.276e-05/0.00882, allocations: 8.375 kB / 0.7927 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.008824, allocations: 4 kB / 0.7927 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.008829, allocations: 5.312 kB / 0.7928 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.008832, allocations: 0 / 0.7928 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.624e-05/0.008918, allocations: 124.6 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.00892, allocations: 0 / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-07/0.008921, allocations: 1.75 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.008923, allocations: 0 / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.008935, allocations: 4 kB / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.008937, allocations: 0 / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008938, allocations: 0 / 0.7929 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.009151, allocations: 212.4 kB / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-06/0.009158, allocations: 0 / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.009173, allocations: 4.875 kB / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.009212, allocations: 7.984 kB / 0.7931 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.009231, allocations: 5.562 kB / 0.7931 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.009244, allocations: 7.938 kB / 0.7931 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.0093, allocations: 135.8 kB / 0.7932 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0093, allocations: 3.938 kB / 0.7932 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000341/0.009641, allocations: 72.94 kB / 0.7933 GB, free: 5.762 MB / 0.7448 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.0003274/0.009968, allocations: 178.3 kB / 0.7935 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.01018, allocations: 182.7 kB / 0.7937 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01019, allocations: 0 / 0.7937 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.01028, allocations: 136.7 kB / 0.7938 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.01044, allocations: 4 kB / 0.7938 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.01077, allocations: 179.8 kB / 0.794 GB, free: 5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.556e-05/0.01083, allocations: 63.28 kB / 0.794 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.861e-06/0.01083, allocations: 0 / 0.794 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.01085, allocations: 9 kB / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of SimCode: time 9.32e-07/0.01085, allocations: 1.938 kB / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.005396/0.01625, allocations: 2.392 MB / 0.7964 GB, free: 2.562 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.753222503699362]