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.001006/0.001006, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001005/0.001005, allocations: 169 kB / 24.28 MB, free: 276 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.9946/0.9946, allocations: 177.2 MB / 204.6 MB, free: 5.605 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.978/1.978, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.502e-06/1.502e-06, allocations: 0 / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.468e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001238/0.001263, allocations: 0.628 MB / 0.8122 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.002761, allocations: 1.471 MB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.222e-05/0.002793, allocations: 0 / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.609e-05/0.002849, allocations: 0.6875 kB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.849e-05/0.002888, allocations: 5.328 kB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.003482, allocations: 224.7 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.003584, allocations: 31.97 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.003624, allocations: 4 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.409e-05/0.003668, allocations: 24.59 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.332e-05/0.003711, allocations: 16.88 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.003723, allocations: 4 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.004029, allocations: 263.5 kB / 0.8142 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.004063, allocations: 4.656 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.004094, allocations: 11.98 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.00438, allocations: 267.9 kB / 0.8145 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.004388, allocations: 5.25 kB / 0.8145 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.353e-06/0.00439, allocations: 0 / 0.8145 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004394, allocations: 0 / 0.8145 GB, free: 15.05 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.0003369/0.004731, allocations: 426 kB / 0.8149 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.004767, allocations: 10.19 kB / 0.8149 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.004811, allocations: 12.89 kB / 0.8149 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.915e-05/0.004901, allocations: 124.4 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.004911, allocations: 384 / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.004921, allocations: 4.375 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.005046, allocations: 84.75 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.005053, allocations: 192 / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.005063, allocations: 384 / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.005072, allocations: 5.469 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.489e-05/0.005107, allocations: 49.69 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.005276, allocations: 124.6 kB / 0.8153 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.521e-05/0.005341, allocations: 73.72 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.005382, allocations: 57.41 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-06/0.005387, allocations: 0 / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.00541, allocations: 42.08 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.005411, allocations: 0 / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000231/0.005642, allocations: 203.4 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.00568, allocations: 85.58 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/0.005761, allocations: 174.1 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.005772, allocations: 34.47 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.005807, allocations: 130.9 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.005835, allocations: 16.77 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.005867, allocations: 31.36 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.005972, allocations: 0.4889 MB / 0.8166 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.00601, allocations: 41.69 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.006042, allocations: 51.06 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.00612, allocations: 111.1 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006122, allocations: 0 / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002576/0.006379, allocations: 154.2 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.006409, allocations: 41.69 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.006413, allocations: 0 / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.006427, allocations: 0.6562 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.006428, allocations: 0 / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.006433, allocations: 4.656 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.006489, allocations: 11.94 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.006506, allocations: 9.484 kB / 0.817 GB, free: 12.2 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.393e-05/0.00658, allocations: 190.3 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.006592, allocations: 11.95 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.006604, allocations: 12.38 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.006606, allocations: 1.812 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.00661, allocations: 7.938 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.006612, allocations: 0 / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.162e-05/0.006674, allocations: 120.6 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006675, allocations: 0.875 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.006676, allocations: 0 / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006677, allocations: 0 / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.006685, allocations: 7.469 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.006686, allocations: 0 / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.006688, allocations: 4 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.006841, allocations: 215.6 kB / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-06/0.006847, allocations: 0 / 0.8175 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.006859, allocations: 4 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.389e-05/0.006882, allocations: 11.98 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.006896, allocations: 4 kB / 0.8175 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.006904, allocations: 7.938 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.006939, allocations: 131.8 kB / 0.8177 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006939, allocations: 0 / 0.8177 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002005/0.00714, allocations: 73.66 kB / 0.8177 GB, free: 11.33 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.0002255/0.007365, allocations: 171.1 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.00753, allocations: 186.4 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.007532, allocations: 1.094 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.007599, allocations: 137.3 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.007714, allocations: 7.562 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.007959, allocations: 179.8 kB / 0.8184 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.373e-05/0.007993, allocations: 63.28 kB / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.39e-06/0.007998, allocations: 0 / 0.8184 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.138e-05/0.00801, allocations: 9.031 kB / 0.8184 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of SimCode: time 1.012e-06/0.008011, allocations: 0.9062 kB / 0.8184 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.003747/0.01176, allocations: 2.141 MB / 0.8205 GB, free: 8.387 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.182637509889901]