Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000928/0.000928, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009206/0.0009206, allocations: 161 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.9405/0.9405, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.826/1.826, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.407e-05, allocations: 9.578 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002939/0.002974, allocations: 1.528 MB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.004454, allocations: 0.7857 MB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.004503, allocations: 0.6562 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.004842, allocations: 137.1 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006352/0.005477, allocations: 182.2 kB / 0.7897 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.00565, allocations: 81 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.005779, allocations: 59.88 kB / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.005876, allocations: 11.98 kB / 0.7898 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.005947, allocations: 44.38 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.006081, allocations: 90.67 kB / 0.7899 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.006099, allocations: 4 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.006538, allocations: 239.5 kB / 0.7902 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.006682, allocations: 107.7 kB / 0.7903 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.177e-05/0.006744, allocations: 39.8 kB / 0.7903 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.0072, allocations: 331 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.007203, allocations: 0 / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007203, allocations: 1.375 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.007209, allocations: 4 kB / 0.7906 GB, free: 8.875 MB / 0.7448 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.0007237/0.007933, allocations: 0.6001 MB / 0.7912 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.00798, allocations: 11.97 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.008047, allocations: 33.3 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.008328, allocations: 243.5 kB / 0.7915 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.00834, allocations: 384 / 0.7915 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.008358, allocations: 13.94 kB / 0.7915 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.008502, allocations: 54.94 kB / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.008513, allocations: 192 / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.008523, allocations: 384 / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.008533, allocations: 4.562 kB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.49e-05/0.008567, allocations: 4 kB / 0.7916 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.009047, allocations: 372.4 kB / 0.7919 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.283e-05/0.00911, allocations: 31.69 kB / 0.7919 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.009137, allocations: 12.66 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.954e-05/0.009197, allocations: 23.98 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.009222, allocations: 37.33 kB / 0.792 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.009224, allocations: 1.375 kB / 0.792 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001987/0.009423, allocations: 69.45 kB / 0.7921 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.009456, allocations: 57.22 kB / 0.7921 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004609/0.009917, allocations: 470.6 kB / 0.7926 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.00993, allocations: 25.7 kB / 0.7926 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.01007, allocations: 214.8 kB / 0.7928 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.01009, allocations: 7.938 kB / 0.7928 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.01025, allocations: 44.91 kB / 0.7929 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.01043, allocations: 0.5235 MB / 0.7934 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.01048, allocations: 20 kB / 0.7934 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.01052, allocations: 19.98 kB / 0.7934 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/0.0106, allocations: 48.03 kB / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.0106, allocations: 0 / 0.7935 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001834/0.01079, allocations: 137.4 kB / 0.7936 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.0108, allocations: 7.938 kB / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01081, allocations: 0 / 0.7936 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.01083, allocations: 3.938 kB / 0.7936 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.01096, allocations: 28.48 kB / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01097, allocations: 0.5312 kB / 0.7936 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.01102, allocations: 9.906 kB / 0.7936 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.01103, allocations: 0 / 0.7936 GB, free: 5.59 MB / 0.7448 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 9.067e-05/0.01112, allocations: 160.5 kB / 0.7938 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.01117, allocations: 35.75 kB / 0.7938 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.0113, allocations: 70.34 kB / 0.7939 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.0113, allocations: 0 / 0.7939 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.0113, allocations: 0 / 0.7939 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.01131, allocations: 0 / 0.7939 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.01155, allocations: 216.6 kB / 0.7941 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01155, allocations: 4 kB / 0.7941 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.01159, allocations: 11.98 kB / 0.7941 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01159, allocations: 0.5312 kB / 0.7941 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.0116, allocations: 4.656 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.0116, allocations: 0 / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0116, allocations: 1.156 kB / 0.7941 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.01175, allocations: 219.7 kB / 0.7943 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.01182, allocations: 39.75 kB / 0.7944 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.01184, allocations: 4.438 kB / 0.7944 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.01192, allocations: 4.5 kB / 0.7944 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.01195, allocations: 0.8438 kB / 0.7944 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.01196, allocations: 0 / 0.7944 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002746/0.01223, allocations: 303.9 kB / 0.7947 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01223, allocations: 4 kB / 0.7947 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003924/0.01262, allocations: 79.86 kB / 0.7948 GB, free: 4.395 MB / 0.7448 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.0002711/0.0129, allocations: 164.8 kB / 0.7949 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.01304, allocations: 53.86 kB / 0.795 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01304, allocations: 0.8125 kB / 0.795 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.01307, allocations: 11.69 kB / 0.795 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.0134, allocations: 23.75 kB / 0.795 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.01407, allocations: 458.9 kB / 0.7954 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.465e-05/0.01415, allocations: 99.92 kB / 0.7955 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.64e-05/0.0142, allocations: 18.64 kB / 0.7955 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.01425, allocations: 26.34 kB / 0.7956 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01425, allocations: 3.938 kB / 0.7956 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.007292/0.02154, allocations: 2.905 MB / 0.7984 GB, free: 0.625 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.986133754719049]