Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.001232/0.001232, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001822/0.003054, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001154/0.001154, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002549, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09014/1.1, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.384/2.384, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2536/2.638, allocations: 145.9 MB / 0.817 GB, free: 4.219 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.927e-06/3.927e-06, allocations: 4 kB / 0.8184 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.997e-05, allocations: 4.141 kB / 0.8184 GB, free: 2.844 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001872/0.001902, allocations: 0.6539 MB / 0.819 GB, free: 2.188 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001093/0.002011, allocations: 51.8 kB / 0.819 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.002027, allocations: 0 / 0.819 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.002045, allocations: 4 kB / 0.819 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.162e-06/0.002046, allocations: 0 / 0.819 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.002221, allocations: 19.86 kB / 0.8191 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.531e-05/0.002316, allocations: 39.89 kB / 0.8191 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.245e-05/0.002359, allocations: 4 kB / 0.8191 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.002404, allocations: 7.984 kB / 0.8191 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.976e-05/0.002434, allocations: 23.97 kB / 0.8191 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.00245, allocations: 0 / 0.8191 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.002568, allocations: 19.97 kB / 0.8192 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.608e-05/0.002594, allocations: 12 kB / 0.8192 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.002617, allocations: 7.938 kB / 0.8192 GB, free: 2 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.002729, allocations: 23.97 kB / 0.8192 GB, free: 1.977 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.787e-05/0.002747, allocations: 0 / 0.8192 GB, free: 1.977 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.72e-07/0.002747, allocations: 0 / 0.8192 GB, free: 1.977 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.002766, allocations: 0 / 0.8192 GB, free: 1.977 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003371/0.003103, allocations: 248.5 kB / 0.8194 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.003137, allocations: 8.625 kB / 0.8194 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.003168, allocations: 12.92 kB / 0.8195 GB, free: 1.688 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.749e-05/0.003236, allocations: 113.7 kB / 0.8196 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.003248, allocations: 4.375 kB / 0.8196 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.003256, allocations: 4.375 kB / 0.8196 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.556e-05/0.003352, allocations: 54.22 kB / 0.8196 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.003359, allocations: 192 / 0.8196 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.003368, allocations: 4.375 kB / 0.8196 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.003374, allocations: 4.375 kB / 0.8196 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.003447, allocations: 67.81 kB / 0.8197 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.546e-05/0.003543, allocations: 79.78 kB / 0.8198 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.458e-05/0.003607, allocations: 50.5 kB / 0.8198 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.108e-05/0.003628, allocations: 17.19 kB / 0.8198 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.00379, allocations: 15.98 kB / 0.8199 GB, free: 1.223 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.003812, allocations: 42.48 kB / 0.8199 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=11): time 8.21e-07/0.003813, allocations: 0 / 0.8199 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of matching and sorting (n=11): time 0.0001315/0.003945, allocations: 69.61 kB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.003976, allocations: 55.41 kB / 0.82 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.568e-05/0.004012, allocations: 97.8 kB / 0.8201 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.004023, allocations: 29.7 kB / 0.8201 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.004043, allocations: 80.14 kB / 0.8202 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.004069, allocations: 23.78 kB / 0.8202 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.0041, allocations: 33.7 kB / 0.8203 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.004182, allocations: 322.8 kB / 0.8206 GB, free: 432 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.004194, allocations: 8 kB / 0.8206 GB, free: 424 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.513e-05/0.004209, allocations: 15.92 kB / 0.8206 GB, free: 408 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.004261, allocations: 35.67 kB / 0.8206 GB, free: 368 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.004264, allocations: 0 / 0.8206 GB, free: 368 kB / 0.7917 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.214e-05/0.004326, allocations: 61.61 kB / 0.8207 GB, free: 300 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.004338, allocations: 4 kB / 0.8207 GB, free: 296 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.004344, allocations: 0 / 0.8207 GB, free: 296 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.004352, allocations: 0 / 0.8207 GB, free: 296 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.004434, allocations: 19.98 kB / 0.8207 GB, free: 276 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.004437, allocations: 8 kB / 0.8207 GB, free: 268 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.004449, allocations: 0 / 0.8207 GB, free: 268 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.004455, allocations: 4 kB / 0.8207 GB, free: 264 kB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.739e-05/0.004542, allocations: 136.5 kB / 0.8209 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.235e-06/0.00455, allocations: 4 kB / 0.8209 GB, free: 112 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.00466, allocations: 98.19 kB / 0.821 GB, free: 8 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.004661, allocations: 0 / 0.821 GB, free: 8 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.004662, allocations: 0 / 0.821 GB, free: 8 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.004665, allocations: 4 kB / 0.821 GB, free: 4 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.261e-05/0.004738, allocations: 77.84 kB / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.00474, allocations: 0 / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.004779, allocations: 19.98 kB / 0.821 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-06/0.004786, allocations: 11.89 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.004788, allocations: 0 / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.004793, allocations: 3.984 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.004794, allocations: 3.938 kB / 0.8211 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.004795, allocations: 0 / 0.8211 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.96e-05/0.004864, allocations: 101 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.004874, allocations: 4 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-06/0.00488, allocations: 4 kB / 0.8212 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.004905, allocations: 11.98 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.004908, allocations: 0 / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.402e-06/0.004914, allocations: 4.859 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004914, allocations: 0 / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001122/0.005026, allocations: 16 kB / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001354/0.005162, allocations: 94.59 kB / 0.8213 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.005255, allocations: 40.77 kB / 0.8213 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.00526, allocations: 8 kB / 0.8213 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.005288, allocations: 32.77 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.059e-05/0.005349, allocations: 8 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002533/0.005602, allocations: 139.2 kB / 0.8215 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.005634, allocations: 55.36 kB / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.005665, allocations: 19.95 kB / 0.8216 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.005702, allocations: 55.38 kB / 0.8216 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of SimCode: time 9.52e-07/0.005703, allocations: 0 / 0.8216 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of Templates: time 0.002088/0.007791, allocations: 0.6936 MB / 0.8223 GB, free: 14.52 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.ref.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.2688134191557765]