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.0009398/0.0009398, allocations: 80.3 kB / 21.47 MB, free: 3.023 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.001156/0.001156, allocations: 165.9 kB / 24.87 MB, free: 8.879 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.9383/0.9383, allocations: 177.2 MB / 205.3 MB, free: 5.461 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.912/1.912, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.322e-06/1.322e-06, allocations: 0 / 0.8128 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.507e-05, allocations: 6.906 kB / 0.8128 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001055/0.00107, allocations: 0.623 MB / 0.8135 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.002594, allocations: 1.458 MB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.002624, allocations: 0 / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.879e-05/0.002683, allocations: 3.938 kB / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.958e-05/0.002723, allocations: 0 / 0.8149 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.003323, allocations: 228.2 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.043e-05/0.003403, allocations: 36.94 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.003438, allocations: 0 / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.003474, allocations: 21.31 kB / 0.8152 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.003517, allocations: 23.92 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.003528, allocations: 0 / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.003847, allocations: 263.6 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.003878, allocations: 13.88 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.0039, allocations: 4 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.004155, allocations: 275.3 kB / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004156, allocations: 0 / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004157, allocations: 0 / 0.8157 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004161, allocations: 1.688 kB / 0.8157 GB, free: 14.44 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.0003125/0.004474, allocations: 430 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.004506, allocations: 8.031 kB / 0.8161 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.004537, allocations: 16.89 kB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.927e-05/0.004617, allocations: 116.6 kB / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.004627, allocations: 1.281 kB / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.004636, allocations: 8.359 kB / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.291e-05/0.004729, allocations: 76.47 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.004736, allocations: 0.7812 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.004742, allocations: 384 / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004748, allocations: 8.406 kB / 0.8163 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.004778, allocations: 46.91 kB / 0.8164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.511e-05/0.004863, allocations: 101.2 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.446e-05/0.004918, allocations: 68.75 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.004948, allocations: 53.94 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-06/0.004952, allocations: 1.375 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.004975, allocations: 37.39 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 6.31e-07/0.004975, allocations: 0 / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0002042/0.00518, allocations: 190.8 kB / 0.8168 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.005214, allocations: 86.2 kB / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.005298, allocations: 173.8 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.00531, allocations: 25.7 kB / 0.8171 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.005348, allocations: 131.9 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.005378, allocations: 23.83 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.005411, allocations: 27.38 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.00553, allocations: 0.4892 MB / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.00556, allocations: 41.69 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-05/0.005585, allocations: 42.53 kB / 0.8178 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.477e-05/0.00565, allocations: 99.02 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.005651, allocations: 1.281 kB / 0.8179 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001027/0.005754, allocations: 133 kB / 0.818 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.005784, allocations: 41.69 kB / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.005787, allocations: 0.8438 kB / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.005796, allocations: 4 kB / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.005797, allocations: 0 / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.0058, allocations: 1.156 kB / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.00585, allocations: 15.86 kB / 0.8181 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.005865, allocations: 4 kB / 0.8181 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 7.483e-05/0.00594, allocations: 191.6 kB / 0.8183 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.005954, allocations: 11.95 kB / 0.8183 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.347e-05/0.005967, allocations: 12.44 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.005969, allocations: 1.469 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.00597, allocations: 0 / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.005973, allocations: 3.938 kB / 0.8183 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.462e-05/0.006038, allocations: 105.2 kB / 0.8184 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006039, allocations: 2.875 kB / 0.8184 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-07/0.006039, allocations: 0 / 0.8184 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.00604, allocations: 3.938 kB / 0.8184 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.006047, allocations: 7.984 kB / 0.8184 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006048, allocations: 0 / 0.8184 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.00605, allocations: 4 kB / 0.8184 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.006188, allocations: 195.7 kB / 0.8186 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.006196, allocations: 4.484 kB / 0.8186 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.006206, allocations: 4 kB / 0.8186 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.006225, allocations: 9.328 kB / 0.8186 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.006237, allocations: 7.938 kB / 0.8187 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.006245, allocations: 4 kB / 0.8187 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.809e-05/0.006283, allocations: 128.7 kB / 0.8188 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006283, allocations: 0 / 0.8188 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00022/0.006503, allocations: 75.88 kB / 0.8189 GB, free: 10.86 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.0001952/0.006698, allocations: 172.3 kB / 0.819 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.006839, allocations: 181.1 kB / 0.8192 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006841, allocations: 4 kB / 0.8192 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.857e-05/0.0069, allocations: 129 kB / 0.8193 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.007, allocations: 11.98 kB / 0.8193 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.007201, allocations: 171.8 kB / 0.8195 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.007232, allocations: 63.34 kB / 0.8196 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.368e-06/0.007236, allocations: 0 / 0.8196 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.007302, allocations: 88.91 kB / 0.8196 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.007303, allocations: 0 / 0.8196 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of Templates: time 0.003537/0.01084, allocations: 2.425 MB / 0.822 GB, free: 7.57 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.007345213089138]