Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008549/0.0008549, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008288/0.0008288, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8819/0.8819, allocations: 177.1 MB / 203.5 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.729/1.729, allocations: 377.9 MB / 0.6229 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9822 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.106e-05, allocations: 17.25 kB / 0.9823 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001202/0.001234, allocations: 0.6112 MB / 0.9829 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.002988, allocations: 1.435 MB / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.003016, allocations: 0 / 0.9843 GB, free: 15.92 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 5.373e-05/0.00307, allocations: 4 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.003112, allocations: 4 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.003704, allocations: 214 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 8.061e-05/0.003784, allocations: 39.95 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.003822, allocations: 7.922 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.003862, allocations: 15.98 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.112e-05/0.003903, allocations: 19.98 kB / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.003915, allocations: 0 / 0.9846 GB, free: 15.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.004224, allocations: 271.5 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.4e-05/0.004258, allocations: 4 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.004286, allocations: 19.91 kB / 0.9848 GB, free: 15.33 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.00455, allocations: 259.4 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004552, allocations: 0 / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.004554, allocations: 7.938 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.004557, allocations: 0 / 0.9851 GB, free: 15.07 MB / 0.948 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.0003118/0.004869, allocations: 327.6 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.004903, allocations: 11.97 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.004935, allocations: 12.89 kB / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.614e-05/0.005011, allocations: 113.8 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.005022, allocations: 384 / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.005033, allocations: 4.375 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.005169, allocations: 103.9 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005175, allocations: 4.172 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.005186, allocations: 384 / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005191, allocations: 3.938 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.005242, allocations: 65.67 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.192e-05/0.005334, allocations: 109.3 kB / 0.9858 GB, free: 14.22 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.45e-05/0.005409, allocations: 88.23 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.005459, allocations: 74.56 kB / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.005465, allocations: 0 / 0.986 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.005486, allocations: 34.56 kB / 0.986 GB, free: 14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 4.41e-07/0.005487, allocations: 3.938 kB / 0.986 GB, free: 13.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002544/0.005741, allocations: 243 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.005779, allocations: 85.03 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.005838, allocations: 117.8 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.005849, allocations: 29.7 kB / 0.9865 GB, free: 13.47 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.005876, allocations: 80.14 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.005909, allocations: 35.77 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.005938, allocations: 17.72 kB / 0.9866 GB, free: 13.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.00601, allocations: 322.8 kB / 0.9869 GB, free: 13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.00606, allocations: 65.67 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.006103, allocations: 61.67 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.984e-05/0.006203, allocations: 152.3 kB / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.006205, allocations: 0 / 0.9872 GB, free: 12.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000127/0.006332, allocations: 181 kB / 0.9873 GB, free: 12.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.006358, allocations: 37.69 kB / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.006362, allocations: 0 / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006373, allocations: 0 / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.006374, allocations: 4.062 kB / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.00638, allocations: 3.938 kB / 0.9874 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.00646, allocations: 15.94 kB / 0.9874 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.006477, allocations: 4 kB / 0.9874 GB, free: 12.44 MB / 0.948 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.754e-05/0.006545, allocations: 151.5 kB / 0.9875 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.006552, allocations: 4 kB / 0.9875 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-06/0.006562, allocations: 8.438 kB / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.006563, allocations: 3.938 kB / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.006573, allocations: 3.938 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.006577, allocations: 7.969 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.211e-05/0.006639, allocations: 121.2 kB / 0.9877 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006641, allocations: 0 / 0.9877 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-07/0.006641, allocations: 3.938 kB / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.006642, allocations: 0 / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.006651, allocations: 8 kB / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006652, allocations: 0 / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006652, allocations: 0 / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.006818, allocations: 232.4 kB / 0.9879 GB, free: 11.83 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.006825, allocations: 7.953 kB / 0.9879 GB, free: 11.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.006838, allocations: 8 kB / 0.9879 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.006858, allocations: 4 kB / 0.9879 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.006873, allocations: 12.02 kB / 0.9879 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.00688, allocations: 7.938 kB / 0.988 GB, free: 11.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.191e-05/0.006912, allocations: 91.27 kB / 0.988 GB, free: 11.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006912, allocations: 0 / 0.988 GB, free: 11.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002211/0.007133, allocations: 71.88 kB / 0.9881 GB, free: 11.63 MB / 0.948 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.0002187/0.007352, allocations: 171.1 kB / 0.9883 GB, free: 11.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.007559, allocations: 230.6 kB / 0.9885 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.007561, allocations: 0 / 0.9885 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.00765, allocations: 153 kB / 0.9886 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.007765, allocations: 10.94 kB / 0.9887 GB, free: 11.03 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.008016, allocations: 220.4 kB / 0.9889 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.008064, allocations: 75.14 kB / 0.9889 GB, free: 10.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.102e-05/0.008075, allocations: 8.5 kB / 0.9889 GB, free: 10.67 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.008076, allocations: 3.938 kB / 0.9889 GB, free: 10.67 MB / 0.948 GB Notification: Performance of Templates: time 0.002784/0.01086, allocations: 1.743 MB / 0.9906 GB, free: 8.93 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.723840835504234]