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.0009869/0.0009869, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001316/0.001316, allocations: 165.3 kB / 23.82 MB, free: 0.75 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.9861/0.9861, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.882/1.882, allocations: 377.8 MB / 0.6236 GB, free: 8.508 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.483e-06/1.483e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.83e-05, allocations: 3.031 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001272/0.0013, allocations: 0.6326 MB / 0.8122 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.002967, allocations: 1.471 MB / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.002999, allocations: 0 / 0.8136 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.541e-05/0.003075, allocations: 4.688 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.121e-05/0.003126, allocations: 4.844 kB / 0.8137 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.003785, allocations: 216.7 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.463e-05/0.003869, allocations: 37.14 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.003907, allocations: 7.984 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.37e-05/0.003951, allocations: 19.92 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.003995, allocations: 16.52 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.004007, allocations: 0 / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.004339, allocations: 268 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.004377, allocations: 8.469 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.004413, allocations: 11.98 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.004698, allocations: 268.6 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.004701, allocations: 4 kB / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004702, allocations: 0 / 0.8145 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.331e-06/0.004707, allocations: 2.312 kB / 0.8145 GB, free: 14.71 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.0003637/0.005071, allocations: 425.9 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.005109, allocations: 8.031 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.005152, allocations: 8.891 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.672e-05/0.005239, allocations: 116.6 kB / 0.815 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.005251, allocations: 4.375 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.005265, allocations: 5.734 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.005404, allocations: 87.88 kB / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.005414, allocations: 192 / 0.8151 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.005428, allocations: 8.359 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.005438, allocations: 5.125 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.005477, allocations: 53.62 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.005587, allocations: 112.6 kB / 0.8153 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.005657, allocations: 73.39 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.005702, allocations: 62.11 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-06/0.005708, allocations: 3.938 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.005736, allocations: 41.98 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.005737, allocations: 1.344 kB / 0.8155 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000252/0.005989, allocations: 194.7 kB / 0.8156 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.00603, allocations: 85.05 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.437e-05/0.006124, allocations: 173.9 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.006137, allocations: 27.23 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.006178, allocations: 134.9 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.006216, allocations: 19.78 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.006252, allocations: 27.38 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002325/0.006484, allocations: 0.4942 MB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.006535, allocations: 45.69 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.006571, allocations: 53.78 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.006654, allocations: 111 kB / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006656, allocations: 0 / 0.8168 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001256/0.006782, allocations: 142.3 kB / 0.8169 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.006814, allocations: 41.69 kB / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.00682, allocations: 0 / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.006837, allocations: 5.344 kB / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.609e-06/0.006841, allocations: 0 / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.006848, allocations: 3.938 kB / 0.817 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.006911, allocations: 7.984 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.006931, allocations: 8.531 kB / 0.817 GB, free: 11.87 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.987e-05/0.00701, allocations: 194.7 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.007024, allocations: 12.83 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.774e-05/0.007042, allocations: 12.44 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.007044, allocations: 0.8125 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007048, allocations: 3.938 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.007051, allocations: 0.5312 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.135e-05/0.007122, allocations: 128.5 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.007123, allocations: 0.9062 kB / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-06/0.007124, allocations: 0 / 0.8173 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007126, allocations: 4.781 kB / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.007135, allocations: 4 kB / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.007136, allocations: 1.281 kB / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007137, allocations: 0 / 0.8173 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.007311, allocations: 207.7 kB / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.007318, allocations: 0 / 0.8175 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.007332, allocations: 8.562 kB / 0.8175 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.789e-05/0.00736, allocations: 4.781 kB / 0.8175 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.007378, allocations: 7.984 kB / 0.8175 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.007387, allocations: 11.88 kB / 0.8175 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.00743, allocations: 137.5 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00743, allocations: 0 / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002301/0.00766, allocations: 71.86 kB / 0.8177 GB, free: 11 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.0002522/0.007912, allocations: 175.9 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.008097, allocations: 185.9 kB / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.008099, allocations: 0 / 0.8181 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.896e-05/0.008168, allocations: 132.8 kB / 0.8182 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.008295, allocations: 4 kB / 0.8182 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.008567, allocations: 183.8 kB / 0.8184 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.555e-05/0.008602, allocations: 63.28 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.33e-06/0.008608, allocations: 0 / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.008621, allocations: 8.5 kB / 0.8185 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of SimCode: time 1.183e-06/0.008623, allocations: 3.938 kB / 0.8185 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of Templates: time 0.003874/0.0125, allocations: 2.132 MB / 0.8206 GB, free: 8.055 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.195422729011625]