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.001489/0.001489, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.001715/0.001715, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.086/1.086, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.692/2.692, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.663e-06/1.663e-06, allocations: 0 / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.268e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.00571/0.005733, allocations: 1.518 MB / 0.8912 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004487/0.01022, allocations: 0.7789 MB / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.01029, allocations: 4 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.01058, allocations: 131.7 kB / 0.8921 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007106/0.01129, allocations: 183.5 kB / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.01148, allocations: 71.78 kB / 0.8924 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.0116, allocations: 67.8 kB / 0.8924 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.01169, allocations: 16 kB / 0.8924 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.01176, allocations: 39.89 kB / 0.8925 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.01189, allocations: 95.81 kB / 0.8926 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.01191, allocations: 0 / 0.8926 GB, free: 6.812 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.01235, allocations: 239.6 kB / 0.8928 GB, free: 6.578 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.01249, allocations: 107.7 kB / 0.8929 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.01254, allocations: 43.8 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.01303, allocations: 335 kB / 0.8933 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.01303, allocations: 0 / 0.8933 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.553e-06/0.01304, allocations: 0 / 0.8933 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.01304, allocations: 0 / 0.8933 GB, free: 6.102 MB / 0.8542 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.003734/0.01677, allocations: 0.6039 MB / 0.8939 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.01682, allocations: 8.625 kB / 0.8939 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.01688, allocations: 32.75 kB / 0.8939 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.0171, allocations: 230.9 kB / 0.8941 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.01711, allocations: 8.375 kB / 0.8941 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.01713, allocations: 8.312 kB / 0.8941 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.01726, allocations: 54.89 kB / 0.8942 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01727, allocations: 192 / 0.8942 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.01728, allocations: 384 / 0.8942 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.01729, allocations: 3.938 kB / 0.8942 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.861e-05/0.01731, allocations: 11.98 kB / 0.8942 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.01773, allocations: 300.4 kB / 0.8945 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/0.01779, allocations: 35 kB / 0.8945 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.01781, allocations: 7.688 kB / 0.8945 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.01786, allocations: 20.05 kB / 0.8945 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.01789, allocations: 37.39 kB / 0.8946 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.01789, allocations: 0 / 0.8946 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001908/0.01808, allocations: 73.44 kB / 0.8947 GB, free: 4.551 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.01811, allocations: 51.41 kB / 0.8947 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.01853, allocations: 454.5 kB / 0.8951 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.01854, allocations: 25.7 kB / 0.8952 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.01869, allocations: 230.7 kB / 0.8954 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.01871, allocations: 11.95 kB / 0.8954 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.01878, allocations: 43.34 kB / 0.8954 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.003209/0.02199, allocations: 0.5274 MB / 0.8959 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.865e-05/0.02203, allocations: 15.98 kB / 0.896 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.02205, allocations: 14.95 kB / 0.896 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.466e-05/0.02212, allocations: 39.67 kB / 0.896 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.02212, allocations: 4 kB / 0.896 GB, free: 3.09 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001498/0.02227, allocations: 113.4 kB / 0.8961 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.02228, allocations: 8 kB / 0.8961 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.02229, allocations: 7.875 kB / 0.8961 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.0223, allocations: 0 / 0.8961 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.02241, allocations: 27.98 kB / 0.8962 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.237e-06/0.02242, allocations: 0 / 0.8962 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.177e-05/0.02246, allocations: 8 kB / 0.8962 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.02246, allocations: 0 / 0.8962 GB, free: 2.922 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 8.879e-05/0.02255, allocations: 160.6 kB / 0.8963 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.02259, allocations: 39.75 kB / 0.8964 GB, free: 2.715 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.0227, allocations: 71.83 kB / 0.8964 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.0227, allocations: 0 / 0.8964 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.02271, allocations: 3.984 kB / 0.8964 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.02271, allocations: 3.938 kB / 0.8964 GB, free: 2.633 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.02289, allocations: 161.2 kB / 0.8966 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02289, allocations: 0 / 0.8966 GB, free: 2.449 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.02292, allocations: 7.984 kB / 0.8966 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.02292, allocations: 0 / 0.8966 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.02293, allocations: 4 kB / 0.8966 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.02293, allocations: 0 / 0.8966 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.02293, allocations: 7.938 kB / 0.8966 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.02308, allocations: 223.8 kB / 0.8968 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.02312, allocations: 23.81 kB / 0.8969 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.02314, allocations: 7.984 kB / 0.8969 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.02321, allocations: 0 / 0.8969 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.02324, allocations: 7.938 kB / 0.8969 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.02324, allocations: 0 / 0.8969 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002136/0.02346, allocations: 283 kB / 0.8971 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.02346, allocations: 0 / 0.8971 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003677/0.02382, allocations: 83.86 kB / 0.8972 GB, free: 1.793 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.0002646/0.02409, allocations: 167.1 kB / 0.8974 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.02421, allocations: 50.42 kB / 0.8974 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02421, allocations: 0 / 0.8974 GB, free: 1.566 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.291e-05/0.02423, allocations: 11.69 kB / 0.8974 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.02452, allocations: 13.5 kB / 0.8974 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/0.02823, allocations: 461 kB / 0.8979 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.02832, allocations: 103.9 kB / 0.898 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.909e-05/0.02837, allocations: 22.62 kB / 0.898 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.02845, allocations: 90.2 kB / 0.8981 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.02845, allocations: 0 / 0.8981 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of Templates: time 0.01309/0.04154, allocations: 3.138 MB / 0.9012 GB, free: 13.72 MB / 0.8698 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: 6.151107651181519]