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.0009765/0.0009765, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009731/0.0009731, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9794/0.9794, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.849/1.849, allocations: 377.9 MB / 0.624 GB, free: 8.398 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.894e-06/1.894e-06, allocations: 0 / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.927e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002094/0.002123, allocations: 0.6324 MB / 0.8127 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.004246, allocations: 1.456 MB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.916e-05/0.004285, allocations: 0 / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.941e-05/0.004345, allocations: 4.625 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.004389, allocations: 4.906 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008583/0.005247, allocations: 220.8 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.005356, allocations: 39.95 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.005404, allocations: 1.125 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.005463, allocations: 19.98 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.005535, allocations: 23.91 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.005554, allocations: 5.531 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005504/0.006104, allocations: 259.6 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.006148, allocations: 7.938 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.00619, allocations: 8 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.00668, allocations: 272.8 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.006685, allocations: 0 / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.573e-06/0.006687, allocations: 0 / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.006692, allocations: 0 / 0.8149 GB, free: 14.45 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.0005495/0.007241, allocations: 431.2 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.007301, allocations: 12.03 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.00736, allocations: 8.891 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.00748, allocations: 117.1 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.007494, allocations: 384 / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.007507, allocations: 9.531 kB / 0.8155 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.007665, allocations: 83.92 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.007674, allocations: 192 / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.007684, allocations: 2.406 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.007692, allocations: 3.938 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.842e-05/0.007741, allocations: 41.69 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.007903, allocations: 113.2 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.828e-05/0.007991, allocations: 64.75 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.008042, allocations: 53.88 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.008054, allocations: 4.719 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.008096, allocations: 33.39 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.008098, allocations: 5.469 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002948/0.008392, allocations: 178.9 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.008442, allocations: 85.11 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.008556, allocations: 178 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.008568, allocations: 26.33 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.008626, allocations: 139.8 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.008669, allocations: 15.86 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.008716, allocations: 27.36 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.008864, allocations: 0.493 MB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.479e-05/0.008909, allocations: 45.69 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.008942, allocations: 42.34 kB / 0.8171 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.233e-05/0.009034, allocations: 95.06 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009036, allocations: 1.281 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001573/0.009193, allocations: 137 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.009236, allocations: 40.34 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.009241, allocations: 1.781 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.009256, allocations: 0 / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.009257, allocations: 0 / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.009263, allocations: 3.984 kB / 0.8173 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.009331, allocations: 19.81 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.009352, allocations: 4.969 kB / 0.8174 GB, free: 11.69 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.0001061/0.009458, allocations: 194.3 kB / 0.8175 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.009478, allocations: 14.27 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.009499, allocations: 4.438 kB / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.009502, allocations: 0 / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.009503, allocations: 0 / 0.8176 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.009511, allocations: 7.922 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.101e-05/0.009602, allocations: 105.2 kB / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009604, allocations: 3.438 kB / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-06/0.009605, allocations: 0 / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.00961, allocations: 3.984 kB / 0.8177 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.009618, allocations: 4 kB / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009619, allocations: 0 / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.00962, allocations: 0 / 0.8177 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.00982, allocations: 191.7 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.00983, allocations: 4 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.009843, allocations: 0 / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.158e-05/0.009885, allocations: 20.7 kB / 0.8179 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.009902, allocations: 8 kB / 0.8179 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.009912, allocations: 4 kB / 0.8179 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.309e-05/0.009965, allocations: 135.7 kB / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009965, allocations: 0.5625 kB / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003287/0.01029, allocations: 68.44 kB / 0.8181 GB, free: 10.87 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.0003032/0.0106, allocations: 172.3 kB / 0.8183 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001845/0.01078, allocations: 179 kB / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01078, allocations: 0.6875 kB / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.01087, allocations: 132.7 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.01102, allocations: 8.562 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.01129, allocations: 180.6 kB / 0.8187 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.02e-05/0.01133, allocations: 63.28 kB / 0.8188 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.332e-06/0.01133, allocations: 0.9375 kB / 0.8188 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.01142, allocations: 86.19 kB / 0.8189 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of SimCode: time 8.52e-07/0.01142, allocations: 1.312 kB / 0.8189 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of Templates: time 0.005016/0.01644, allocations: 2.38 MB / 0.8212 GB, free: 7.605 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","",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.07558700395748]