Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 113.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.727/2.727, allocations: 437 MB / 0.7177 GB, free: 4.535 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 64.14 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 151.6 MB / 1.176 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002776/0.3174, allocations: 1.533 MB / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.3178, allocations: 144.3 kB / 1.177 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.3178, allocations: 0 / 1.177 GB, free: 4.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.174e-05/0.3179, allocations: 3.938 kB / 1.177 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.3179, allocations: 7.938 kB / 1.177 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.3182, allocations: 23.97 kB / 1.178 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.968e-05/0.3183, allocations: 39.89 kB / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.841e-05/0.3184, allocations: 16 kB / 1.178 GB, free: 4.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.405e-05/0.3185, allocations: 15.92 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.3185, allocations: 19.92 kB / 1.178 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3185, allocations: 4 kB / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.3186, allocations: 19.98 kB / 1.178 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.3186, allocations: 7.984 kB / 1.178 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.3187, allocations: 23.86 kB / 1.178 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3188, allocations: 47.75 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3188, allocations: 4 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3188, allocations: 0 / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.3189, allocations: 4 kB / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005196/0.3194, allocations: 355.3 kB / 1.178 GB, free: 3.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3194, allocations: 8.031 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.3195, allocations: 4.938 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3196, allocations: 164.3 kB / 1.178 GB, free: 3.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.3196, allocations: 4.375 kB / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.3197, allocations: 384 / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.3199, allocations: 70.22 kB / 1.178 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3199, allocations: 192 / 1.178 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3199, allocations: 3.938 kB / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3199, allocations: 0 / 1.178 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.3201, allocations: 47.89 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.3205, allocations: 280.8 kB / 1.179 GB, free: 2.906 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.3209, allocations: 58.61 kB / 1.179 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.321, allocations: 36.75 kB / 1.179 GB, free: 2.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003184/0.3213, allocations: 397.5 kB / 1.179 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.3214, allocations: 30.56 kB / 1.179 GB, free: 2.281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3214, allocations: 7.938 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0003908/0.3218, allocations: 97.58 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3218, allocations: 51.41 kB / 1.179 GB, free: 2.109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.3219, allocations: 109.8 kB / 1.179 GB, free: 1.992 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3219, allocations: 29.7 kB / 1.179 GB, free: 1.957 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.322, allocations: 88.2 kB / 1.179 GB, free: 1.867 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.322, allocations: 3.953 kB / 1.179 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.322, allocations: 21.7 kB / 1.179 GB, free: 1.836 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3222, allocations: 318.8 kB / 1.18 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3223, allocations: 27.86 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.501e-05/0.3224, allocations: 19.97 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3226, allocations: 44.81 kB / 1.18 GB, free: 1.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3226, allocations: 0 / 1.18 GB, free: 1.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002276/0.3228, allocations: 81.61 kB / 1.18 GB, free: 1.336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3228, allocations: 8 kB / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3228, allocations: 0 / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3229, allocations: 0 / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.323, allocations: 11.98 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.323, allocations: 0 / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.323, allocations: 15.86 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.323, allocations: 0 / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.306e-05/0.3231, allocations: 121.8 kB / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.3232, allocations: 0 / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.3234, allocations: 81.55 kB / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3235, allocations: 0 / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3235, allocations: 0 / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3235, allocations: 0 / 1.18 GB, free: 1.082 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.3237, allocations: 173.6 kB / 1.18 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3237, allocations: 4 kB / 1.18 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.3238, allocations: 11.98 kB / 1.18 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3238, allocations: 0 / 1.18 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3238, allocations: 0 / 1.18 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.3238, allocations: 4 kB / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3238, allocations: 7.922 kB / 1.18 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3241, allocations: 179.7 kB / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3241, allocations: 81.11 kB / 1.181 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3242, allocations: 48 / 1.181 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.3243, allocations: 11.97 kB / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.3243, allocations: 7.984 kB / 1.181 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.3243, allocations: 0 / 1.181 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.3244, allocations: 87.59 kB / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3244, allocations: 0 / 1.181 GB, free: 452 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002263/0.3246, allocations: 8 kB / 1.181 GB, free: 444 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001624/0.3248, allocations: 111.2 kB / 1.181 GB, free: 324 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000244/0.325, allocations: 43.89 kB / 1.181 GB, free: 280 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.325, allocations: 4 kB / 1.181 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.846e-05/0.3251, allocations: 19.98 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3254, allocations: 18.16 kB / 1.181 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.3258, allocations: 143.1 kB / 1.181 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3261, allocations: 0.6845 MB / 1.182 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3261, allocations: 11.44 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3261, allocations: 4 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.002384/0.3285, allocations: 0.8029 MB / 1.183 GB, free: 14.54 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.249575082911178]