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.001278/0.001278, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00123/0.00123, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.002/2.002, allocations: 429.5 MB / 0.6736 GB, free: 4.062 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.132e-06/1.132e-06, allocations: 0 / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.461e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001675/0.00169, allocations: 1.534 MB / 0.8797 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.00266, allocations: 0.7855 MB / 0.8805 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.002703, allocations: 0 / 0.8805 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.002911, allocations: 137.8 kB / 0.8806 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.003333, allocations: 181.6 kB / 0.8808 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.771e-05/0.00343, allocations: 74.17 kB / 0.8808 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.179e-05/0.003512, allocations: 71.8 kB / 0.8809 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.529e-05/0.003577, allocations: 7.984 kB / 0.8809 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.003625, allocations: 47.88 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.003711, allocations: 83.89 kB / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.003728, allocations: 4 kB / 0.881 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.003995, allocations: 244.2 kB / 0.8813 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.004088, allocations: 107.7 kB / 0.8814 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.004125, allocations: 45.45 kB / 0.8814 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.004412, allocations: 335 kB / 0.8817 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004415, allocations: 0 / 0.8817 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.51e-07/0.004415, allocations: 0 / 0.8817 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.004419, allocations: 1.344 kB / 0.8817 GB, free: 3.039 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.0005734/0.004992, allocations: 0.5962 MB / 0.8823 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005028, allocations: 12.03 kB / 0.8823 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.005076, allocations: 30.34 kB / 0.8824 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.005282, allocations: 250.9 kB / 0.8826 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.005295, allocations: 4.375 kB / 0.8826 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.005303, allocations: 384 / 0.8826 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.005429, allocations: 58.94 kB / 0.8827 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.005437, allocations: 4.125 kB / 0.8827 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.005445, allocations: 384 / 0.8827 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.005453, allocations: 7.938 kB / 0.8827 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.848e-05/0.005482, allocations: 0 / 0.8827 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.005837, allocations: 371.8 kB / 0.883 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.482e-05/0.005882, allocations: 27.06 kB / 0.883 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.005902, allocations: 11.75 kB / 0.8831 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.005944, allocations: 19.98 kB / 0.8831 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.005968, allocations: 45.27 kB / 0.8831 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.00597, allocations: 7.984 kB / 0.8831 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001451/0.006115, allocations: 69.5 kB / 0.8832 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.006141, allocations: 51.41 kB / 0.8832 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.006428, allocations: 466.6 kB / 0.8837 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.006437, allocations: 25.7 kB / 0.8837 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.006526, allocations: 214.8 kB / 0.8839 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.006542, allocations: 15.94 kB / 0.8839 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.006583, allocations: 43.33 kB / 0.884 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.006706, allocations: 0.5313 MB / 0.8845 GB, free: 16 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.006737, allocations: 16 kB / 0.8845 GB, free: 0 / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.006762, allocations: 24.09 kB / 0.8845 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.006816, allocations: 47.69 kB / 0.8846 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006817, allocations: 0 / 0.8846 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001217/0.006939, allocations: 136.9 kB / 0.8847 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.006951, allocations: 7.938 kB / 0.8847 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.006955, allocations: 0 / 0.8847 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006967, allocations: 0 / 0.8847 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.007058, allocations: 27.92 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.007066, allocations: 4 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.007095, allocations: 4 kB / 0.8847 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.007101, allocations: 4 kB / 0.8848 GB, free: 15.74 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 6.523e-05/0.007166, allocations: 160.6 kB / 0.8849 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.007193, allocations: 39.7 kB / 0.8849 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.612e-05/0.00728, allocations: 67.88 kB / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007281, allocations: 0 / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.007284, allocations: 0 / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007287, allocations: 0 / 0.885 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.007431, allocations: 216.6 kB / 0.8852 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007432, allocations: 0 / 0.8852 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.007453, allocations: 7.984 kB / 0.8852 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007455, allocations: 8.031 kB / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.007461, allocations: 3.938 kB / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.007461, allocations: 0 / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007462, allocations: 0 / 0.8852 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.251e-05/0.007555, allocations: 211.8 kB / 0.8854 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.007588, allocations: 31.81 kB / 0.8855 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.007605, allocations: 11.92 kB / 0.8855 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.007643, allocations: 0 / 0.8855 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.007673, allocations: 7.938 kB / 0.8855 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.007676, allocations: 0 / 0.8855 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001695/0.007846, allocations: 303.1 kB / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.007846, allocations: 4 kB / 0.8858 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002157/0.008061, allocations: 83.86 kB / 0.8859 GB, free: 14.54 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.0001851/0.008247, allocations: 167 kB / 0.886 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.008339, allocations: 43.67 kB / 0.8861 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.008341, allocations: 4 kB / 0.8861 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.712e-05/0.008358, allocations: 11.62 kB / 0.8861 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.008555, allocations: 21.5 kB / 0.8861 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004388/0.008993, allocations: 455.5 kB / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.634e-05/0.00905, allocations: 111.9 kB / 0.8866 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.009082, allocations: 22.64 kB / 0.8867 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.009115, allocations: 16.5 kB / 0.8867 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.009115, allocations: 0 / 0.8867 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of Templates: time 0.004455/0.01357, allocations: 2.887 MB / 0.8895 GB, free: 10.75 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.370759455952793]