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.0009911/0.0009911, allocations: 80.92 kB / 20.75 MB, free: 3.734 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.001036/0.001036, allocations: 165 kB / 24.17 MB, free: 324 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.9882/0.9882, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.985/1.985, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 2.635e-06/2.635e-06, allocations: 0 / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.691e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001247/0.001274, allocations: 0.6909 MB / 0.7608 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.003678, allocations: 1.472 MB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.003711, allocations: 2.125 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.88e-05/0.00378, allocations: 3.938 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.003826, allocations: 1.031 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006172/0.004443, allocations: 189.6 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.421e-05/0.004537, allocations: 35.25 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.989e-05/0.004587, allocations: 7.922 kB / 0.7625 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.004637, allocations: 20.95 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.00469, allocations: 21.27 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.004703, allocations: 1.203 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.005103, allocations: 297.7 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.005147, allocations: 5.641 kB / 0.7628 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.005178, allocations: 15.03 kB / 0.7628 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.005448, allocations: 272.4 kB / 0.7631 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.005449, allocations: 0.75 kB / 0.7631 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.72e-07/0.00545, allocations: 0 / 0.7631 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.005454, allocations: 0.5 kB / 0.7631 GB, free: 3.551 MB / 0.7136 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.0002957/0.00575, allocations: 300 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.005785, allocations: 8.031 kB / 0.7634 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.005819, allocations: 8.922 kB / 0.7634 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.005914, allocations: 109.8 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.005926, allocations: 4.375 kB / 0.7635 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.005934, allocations: 1.719 kB / 0.7635 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.006045, allocations: 90.69 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.006052, allocations: 192 / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.006061, allocations: 1.625 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.006069, allocations: 7.938 kB / 0.7636 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.648e-05/0.006096, allocations: 37.69 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.801e-05/0.006174, allocations: 64.66 kB / 0.7637 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.236e-05/0.006236, allocations: 56.27 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.006266, allocations: 51.7 kB / 0.7638 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-06/0.00627, allocations: 0 / 0.7638 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.006294, allocations: 38.5 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.006295, allocations: 3.125 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001798/0.006475, allocations: 162.7 kB / 0.764 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.006512, allocations: 81.11 kB / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.006588, allocations: 119.1 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.0066, allocations: 29.7 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.006623, allocations: 88.12 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.006657, allocations: 23.8 kB / 0.7643 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.006683, allocations: 13.72 kB / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.006765, allocations: 326.8 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.006798, allocations: 47.55 kB / 0.7647 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.006826, allocations: 45.64 kB / 0.7647 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.424e-05/0.00689, allocations: 91.06 kB / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006892, allocations: 0 / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.607e-05/0.006978, allocations: 125 kB / 0.7649 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.007012, allocations: 41.69 kB / 0.7649 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.007016, allocations: 0 / 0.7649 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.00703, allocations: 5.5 kB / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-06/0.007032, allocations: 0 / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.007035, allocations: 0 / 0.765 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.007086, allocations: 11.88 kB / 0.765 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.007102, allocations: 4 kB / 0.765 GB, free: 1.352 MB / 0.7136 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.299e-05/0.007175, allocations: 147 kB / 0.7651 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.00719, allocations: 21.45 kB / 0.7651 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.238e-05/0.007202, allocations: 4.438 kB / 0.7651 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007205, allocations: 3.984 kB / 0.7651 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.007206, allocations: 0 / 0.7651 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.007209, allocations: 6.438 kB / 0.7651 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.776e-05/0.007267, allocations: 73.83 kB / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4e-07/0.007267, allocations: 0 / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.007268, allocations: 0 / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007269, allocations: 0 / 0.7652 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.007275, allocations: 4 kB / 0.7652 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.007276, allocations: 2.719 kB / 0.7652 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.007277, allocations: 0 / 0.7652 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.007399, allocations: 174.1 kB / 0.7654 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.007407, allocations: 7.953 kB / 0.7654 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.007416, allocations: 3.938 kB / 0.7654 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.007437, allocations: 8 kB / 0.7654 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.007451, allocations: 7.984 kB / 0.7654 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.007458, allocations: 4 kB / 0.7654 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.58e-05/0.007473, allocations: 18.64 kB / 0.7654 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007474, allocations: 0 / 0.7654 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001722/0.007646, allocations: 71.86 kB / 0.7655 GB, free: 0.7383 MB / 0.7136 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.0002259/0.007872, allocations: 162.7 kB / 0.7657 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.008036, allocations: 171.6 kB / 0.7658 GB, free: 388 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.008039, allocations: 0 / 0.7658 GB, free: 388 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.008098, allocations: 121.9 kB / 0.7659 GB, free: 244 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.995e-05/0.008178, allocations: 15.94 kB / 0.766 GB, free: 228 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.008424, allocations: 173.9 kB / 0.7661 GB, free: 20 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.607e-05/0.00847, allocations: 63.34 kB / 0.7662 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.272e-06/0.008476, allocations: 4 kB / 0.7662 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.008549, allocations: 67.36 kB / 0.7662 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of SimCode: time 6.91e-07/0.008549, allocations: 0 / 0.7662 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of Templates: time 0.004097/0.01265, allocations: 2.367 MB / 0.7686 GB, free: 13.61 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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: 4.983263588044792]