Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001326/0.001326, allocations: 113.5 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001418/0.001418, allocations: 206.5 kB / 20.09 MB, free: 2.977 MB / 14.72 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.917/2.917, allocations: 0.49 GB / 0.7923 GB, free: 1.332 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.8977, allocations: 176.1 MB / 1.322 GB, free: 25.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002239/0.8999, allocations: 1.56 MB / 1.323 GB, free: 24.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003037/0.9002, allocations: 135.3 kB / 1.324 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.9003, allocations: 0 / 1.324 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.885e-05/0.9003, allocations: 3.938 kB / 1.324 GB, free: 24.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.667e-05/0.9003, allocations: 3.938 kB / 1.324 GB, free: 24.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.9006, allocations: 31.12 kB / 1.324 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.186e-05/0.9007, allocations: 33.67 kB / 1.324 GB, free: 24 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.9007, allocations: 14.61 kB / 1.324 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.479e-05/0.9008, allocations: 20.08 kB / 1.324 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.9008, allocations: 23.38 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.9008, allocations: 2.406 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.696e-05/0.9009, allocations: 21.98 kB / 1.324 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.9009, allocations: 6.625 kB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.9009, allocations: 21.66 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.901, allocations: 39.2 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.901, allocations: 0 / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.804e-06/0.901, allocations: 0 / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.901, allocations: 2.938 kB / 1.324 GB, free: 23.93 MB / 1.061 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.0003998/0.9014, allocations: 358.2 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.9015, allocations: 16.48 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.9015, allocations: 7.828 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.522e-05/0.9016, allocations: 166.7 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.9016, allocations: 384 / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.9016, allocations: 3.188 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.9018, allocations: 70.22 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.9018, allocations: 192 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.9018, allocations: 7.938 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.9018, allocations: 4 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.902, allocations: 47.14 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.9023, allocations: 278.4 kB / 1.325 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.9026, allocations: 59.22 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.788e-05/0.9027, allocations: 36.88 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.9029, allocations: 398 kB / 1.325 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.9029, allocations: 33.31 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.9029, allocations: 0 / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003817/0.9033, allocations: 94.55 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.9033, allocations: 59.34 kB / 1.325 GB, free: 22.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/0.9034, allocations: 114.2 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.9034, allocations: 28.64 kB / 1.326 GB, free: 22.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/0.9034, allocations: 83.89 kB / 1.326 GB, free: 22.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.9034, allocations: 14.89 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.9035, allocations: 12.66 kB / 1.326 GB, free: 22.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.9035, allocations: 318.8 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.9036, allocations: 26.58 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.9037, allocations: 18.36 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.9038, allocations: 42.44 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9038, allocations: 3.094 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002084/0.904, allocations: 77.95 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.9041, allocations: 5.25 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9041, allocations: 4 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.9041, allocations: 0 / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.9042, allocations: 11.25 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.9042, allocations: 3.938 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.9042, allocations: 12.92 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.9042, allocations: 0 / 1.326 GB, free: 21.66 MB / 1.061 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 4.854e-05/0.9043, allocations: 116.7 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.9043, allocations: 2.656 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.9045, allocations: 82.92 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9045, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.9046, allocations: 2.469 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9046, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.9047, allocations: 179.9 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9047, allocations: 0 / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.9048, allocations: 9.312 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.9048, allocations: 2.656 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.9048, allocations: 4 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.9048, allocations: 0 / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.9048, allocations: 0 / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.905, allocations: 176.8 kB / 1.327 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.905, allocations: 79.89 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.905, allocations: 4 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.9051, allocations: 10.14 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.9052, allocations: 6.766 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.9052, allocations: 10.06 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.438e-05/0.9052, allocations: 84.91 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.9052, allocations: 0 / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000232/0.9054, allocations: 8.312 kB / 1.327 GB, free: 20.94 MB / 1.061 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.0001295/0.9056, allocations: 120.7 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.9058, allocations: 44.59 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9058, allocations: 0 / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.712e-05/0.9059, allocations: 24.55 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.9062, allocations: 10.5 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.9064, allocations: 148.5 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.405e-05/0.9065, allocations: 0.6806 MB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.9066, allocations: 13.94 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.9066, allocations: 2.562 kB / 1.328 GB, free: 19.96 MB / 1.061 GB Notification: Performance of Templates: time 0.002111/0.9087, allocations: 0.7926 MB / 1.329 GB, free: 19.92 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.324967337000999]