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.002517/0.002517, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.00304/0.00304, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.332 MB / 186.7 MB " [Timeout remaining time 178] 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 3.056/3.056, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] 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.933e-06/1.933e-06, allocations: 0 / 0.8109 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.411e-05, allocations: 6.25 kB / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001741/0.001775, allocations: 0.6169 MB / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.00412, allocations: 1.449 MB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.648e-05/0.004146, allocations: 4 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.464e-05/0.004211, allocations: 0.6562 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.004252, allocations: 5.031 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007883/0.00504, allocations: 221.1 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.005128, allocations: 31.91 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.00516, allocations: 4 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.005215, allocations: 20.84 kB / 0.8132 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.005269, allocations: 19.97 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.00529, allocations: 5.25 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.005813, allocations: 271.4 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.005847, allocations: 0 / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.005885, allocations: 21.39 kB / 0.8135 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006534/0.006538, allocations: 255.5 kB / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.006542, allocations: 0 / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006543, allocations: 0 / 0.8137 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.006548, allocations: 1.5 kB / 0.8137 GB, free: 15.16 MB / 0.7761 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.0005729/0.007121, allocations: 437.4 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.007159, allocations: 12.03 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.007216, allocations: 8.891 kB / 0.8141 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.007348, allocations: 117.3 kB / 0.8143 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.007361, allocations: 384 / 0.8143 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.007376, allocations: 5.094 kB / 0.8143 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.007543, allocations: 87.92 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.007551, allocations: 1.469 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.007562, allocations: 384 / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.007571, allocations: 7.938 kB / 0.8144 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.007666, allocations: 55.53 kB / 0.8144 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.007822, allocations: 116.6 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.007948, allocations: 76.75 kB / 0.8146 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.716e-05/0.008025, allocations: 61.56 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.008034, allocations: 0 / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.008073, allocations: 38.8 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 7.42e-07/0.008074, allocations: 0 / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003768/0.008451, allocations: 214.6 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.008523, allocations: 89.05 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.008675, allocations: 174.5 kB / 0.8151 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.008698, allocations: 27.05 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.008799, allocations: 138.9 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.008838, allocations: 15.8 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.008893, allocations: 27.38 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002753/0.009168, allocations: 0.4929 MB / 0.8158 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.009238, allocations: 45.69 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.009302, allocations: 50.31 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.009451, allocations: 117 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.009453, allocations: 0 / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002263/0.00968, allocations: 157 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.009727, allocations: 33.7 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.009733, allocations: 3.984 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.009748, allocations: 4.531 kB / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.00975, allocations: 0 / 0.8162 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.009757, allocations: 4.656 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.009822, allocations: 7.938 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.00985, allocations: 9.344 kB / 0.8162 GB, free: 12.28 MB / 0.7761 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 0.0001502/0.01, allocations: 190.3 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.01003, allocations: 12.58 kB / 0.8164 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.01005, allocations: 12.42 kB / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.01005, allocations: 1.125 kB / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.01005, allocations: 3.938 kB / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.01005, allocations: 0 / 0.8164 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.01018, allocations: 133.4 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01018, allocations: 0 / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.01018, allocations: 0.9375 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.01018, allocations: 0 / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.0102, allocations: 4 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.0102, allocations: 5.344 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.0102, allocations: 0 / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.01051, allocations: 223.6 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.01052, allocations: 4 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.01054, allocations: 0.9688 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.01058, allocations: 11.98 kB / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.0106, allocations: 2.312 kB / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.01061, allocations: 7.938 kB / 0.8168 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.01069, allocations: 135.8 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01069, allocations: 0 / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003039/0.011, allocations: 71.88 kB / 0.817 GB, free: 11.39 MB / 0.7761 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.0003567/0.01135, allocations: 170.5 kB / 0.8172 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.01164, allocations: 198.7 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01165, allocations: 3.938 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.01181, allocations: 152.7 kB / 0.8175 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.01195, allocations: 7.984 kB / 0.8175 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.0123, allocations: 179.8 kB / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.361e-05/0.01239, allocations: 79.2 kB / 0.8178 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.992e-06/0.01239, allocations: 0.7188 kB / 0.8178 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.01241, allocations: 8.5 kB / 0.8178 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.01241, allocations: 0.5 kB / 0.8178 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.0058/0.01821, allocations: 2.133 MB / 0.8199 GB, free: 8.41 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] 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: 8.075353287975304]