Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.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.001327/0.001327, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.001406/0.001406, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9353/0.9353, allocations: 177.1 MB / 203.4 MB, free: 5.312 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.051/2.051, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.598e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001906/0.001932, allocations: 1.521 MB / 0.8797 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.002984, allocations: 0.7978 MB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.003027, allocations: 0 / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.003242, allocations: 132.6 kB / 0.8806 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005369/0.003779, allocations: 186.9 kB / 0.8808 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.003914, allocations: 75.78 kB / 0.8808 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.004018, allocations: 60.47 kB / 0.8809 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.381e-05/0.004102, allocations: 15.98 kB / 0.8809 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.353e-05/0.004155, allocations: 41.2 kB / 0.8809 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004257, allocations: 91.81 kB / 0.881 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.004272, allocations: 4 kB / 0.881 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.004596, allocations: 241.1 kB / 0.8813 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.004703, allocations: 103.7 kB / 0.8814 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.004752, allocations: 47.78 kB / 0.8814 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.005092, allocations: 335 kB / 0.8817 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.005095, allocations: 4 kB / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.21e-07/0.005096, allocations: 0 / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.0051, allocations: 0 / 0.8817 GB, free: 2.691 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005568/0.005657, allocations: 0.6039 MB / 0.8823 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.005698, allocations: 8.031 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.00576, allocations: 32.75 kB / 0.8824 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.005964, allocations: 250.9 kB / 0.8826 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.005976, allocations: 4.375 kB / 0.8826 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.005985, allocations: 384 / 0.8826 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.006106, allocations: 50.95 kB / 0.8826 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006114, allocations: 4.188 kB / 0.8826 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.006123, allocations: 384 / 0.8826 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.006131, allocations: 3.938 kB / 0.8827 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.92e-05/0.00616, allocations: 11.92 kB / 0.8827 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.006521, allocations: 371.8 kB / 0.883 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.022e-05/0.006572, allocations: 27.06 kB / 0.883 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.997e-05/0.006592, allocations: 11.67 kB / 0.8831 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.006638, allocations: 24.05 kB / 0.8831 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.006658, allocations: 37.33 kB / 0.8831 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.006659, allocations: 0 / 0.8831 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.006809, allocations: 77.45 kB / 0.8832 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.006837, allocations: 51.41 kB / 0.8832 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.007125, allocations: 466.6 kB / 0.8837 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.007137, allocations: 25.7 kB / 0.8837 GB, free: 500 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.007231, allocations: 214.8 kB / 0.8839 GB, free: 280 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.007247, allocations: 11.95 kB / 0.8839 GB, free: 268 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.007291, allocations: 47.31 kB / 0.884 GB, free: 212 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.007427, allocations: 0.5235 MB / 0.8845 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.007457, allocations: 15.98 kB / 0.8845 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.007482, allocations: 16 kB / 0.8845 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.00773, allocations: 62.55 kB / 0.8846 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007732, allocations: 0 / 0.8846 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001244/0.007856, allocations: 121.4 kB / 0.8847 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.00787, allocations: 11.94 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.007875, allocations: 0 / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.007887, allocations: 0 / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.778e-05/0.007985, allocations: 23.98 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007989, allocations: 0 / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.008021, allocations: 11.94 kB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.008029, allocations: 7.938 kB / 0.8847 GB, free: 15.4 MB / 0.8542 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.246e-05/0.008102, allocations: 164.6 kB / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.008132, allocations: 39.7 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.418e-05/0.008226, allocations: 55.95 kB / 0.885 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.008229, allocations: 7.984 kB / 0.885 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.008232, allocations: 0 / 0.885 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.008235, allocations: 0 / 0.885 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.00839, allocations: 220.6 kB / 0.8852 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008391, allocations: 3.938 kB / 0.8852 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.008414, allocations: 4 kB / 0.8852 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.008416, allocations: 0 / 0.8852 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.008423, allocations: 11.97 kB / 0.8852 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008425, allocations: 0 / 0.8852 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008426, allocations: 0 / 0.8852 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.508e-05/0.008521, allocations: 211.8 kB / 0.8854 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.008557, allocations: 35.8 kB / 0.8855 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.008575, allocations: 3.938 kB / 0.8855 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.008614, allocations: 4 kB / 0.8855 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.008647, allocations: 3.984 kB / 0.8855 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.00865, allocations: 4 kB / 0.8855 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001674/0.008817, allocations: 303.1 kB / 0.8858 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008817, allocations: 4.031 kB / 0.8858 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000249/0.009066, allocations: 79.88 kB / 0.8858 GB, free: 14.2 MB / 0.8542 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001999/0.009266, allocations: 171 kB / 0.886 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.742e-05/0.009364, allocations: 43.67 kB / 0.886 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009365, allocations: 0 / 0.886 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.009382, allocations: 15.67 kB / 0.8861 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.009589, allocations: 29.42 kB / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.01006, allocations: 451.5 kB / 0.8865 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.92e-05/0.01012, allocations: 103.9 kB / 0.8866 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.01015, allocations: 26.62 kB / 0.8866 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.01018, allocations: 24.44 kB / 0.8867 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01018, allocations: 0 / 0.8867 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of Templates: time 0.004888/0.01507, allocations: 3.117 MB / 0.8897 GB, free: 10.17 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.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.320012915879488]