Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00136/0.00136, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001488/0.001488, allocations: 210.8 kB / 23 MB, free: 4.57 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_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.002103/0.002103, allocations: 68.47 kB / 1.119 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.422, allocations: 169.9 MB / 1.285 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002947/0.4249, allocations: 1.57 MB / 1.286 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004131/0.4253, allocations: 135.5 kB / 1.286 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.4254, allocations: 0 / 1.286 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.4254, allocations: 7.922 kB / 1.286 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.356e-05/0.4254, allocations: 0 / 1.286 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.4258, allocations: 35.91 kB / 1.286 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.253e-05/0.4259, allocations: 39.91 kB / 1.286 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.426, allocations: 8 kB / 1.286 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.426, allocations: 19.92 kB / 1.286 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.4261, allocations: 19.92 kB / 1.286 GB, free: 1.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.4261, allocations: 4 kB / 1.286 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.4262, allocations: 23.97 kB / 1.286 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.4262, allocations: 7.984 kB / 1.286 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.4262, allocations: 15.88 kB / 1.286 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.4264, allocations: 51.8 kB / 1.286 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4264, allocations: 0 / 1.286 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4264, allocations: 0 / 1.286 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4264, allocations: 4 kB / 1.286 GB, free: 1.41 MB / 0.9825 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.0005085/0.4269, allocations: 274.2 kB / 1.287 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4269, allocations: 8.031 kB / 1.287 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.427, allocations: 8.891 kB / 1.287 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.4271, allocations: 118.5 kB / 1.287 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.4271, allocations: 4.375 kB / 1.287 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.4271, allocations: 384 / 1.287 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.4273, allocations: 74.16 kB / 1.287 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4274, allocations: 192 / 1.287 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4274, allocations: 3.938 kB / 1.287 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4274, allocations: 0 / 1.287 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.4276, allocations: 51.88 kB / 1.287 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.428, allocations: 255.8 kB / 1.287 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.4283, allocations: 54.55 kB / 1.287 GB, free: 472 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4285, allocations: 28.89 kB / 1.287 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.4286, allocations: 19.98 kB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4286, allocations: 38.5 kB / 1.287 GB, free: 372 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4286, allocations: 0 / 1.287 GB, free: 372 kB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003944/0.429, allocations: 93.62 kB / 1.287 GB, free: 272 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4291, allocations: 51.41 kB / 1.288 GB, free: 208 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.4291, allocations: 117.8 kB / 1.288 GB, free: 80 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.4292, allocations: 25.7 kB / 1.288 GB, free: 48 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.4292, allocations: 84.09 kB / 1.288 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.4293, allocations: 11.95 kB / 1.288 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.4293, allocations: 13.72 kB / 1.288 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4294, allocations: 326.8 kB / 1.288 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.146e-05/0.4295, allocations: 11.98 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.4296, allocations: 23.97 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.4298, allocations: 48.77 kB / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4298, allocations: 0 / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002234/0.43, allocations: 81.64 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.43, allocations: 4 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.43, allocations: 0 / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.43, allocations: 0 / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.4301, allocations: 11.98 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4301, allocations: 0 / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.4302, allocations: 7.938 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.4302, allocations: 3.984 kB / 1.288 GB, free: 15.4 MB / 0.9981 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 9.944e-05/0.4303, allocations: 125.7 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.4303, allocations: 7.953 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.4306, allocations: 77.64 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4306, allocations: 3.938 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4306, allocations: 0 / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4306, allocations: 4 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.4308, allocations: 140.7 kB / 1.289 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4308, allocations: 0 / 1.289 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.4308, allocations: 15.98 kB / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4308, allocations: 0 / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.4309, allocations: 384 / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4309, allocations: 0 / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4309, allocations: 4 kB / 1.289 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.4311, allocations: 179.4 kB / 1.289 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.4311, allocations: 11.95 kB / 1.289 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.4312, allocations: 4 kB / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.4312, allocations: 7.984 kB / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.4313, allocations: 3.984 kB / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.4313, allocations: 4 kB / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.4314, allocations: 83.28 kB / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4314, allocations: 0 / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002322/0.4316, allocations: 8 kB / 1.289 GB, free: 14.66 MB / 0.9981 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.000167/0.4318, allocations: 111.2 kB / 1.289 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.432, allocations: 43.89 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.432, allocations: 3.938 kB / 1.289 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.4321, allocations: 23.98 kB / 1.289 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.4324, allocations: 6.281 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.4327, allocations: 160.5 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.433, allocations: 0.6807 MB / 1.29 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.4331, allocations: 11.44 kB / 1.29 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.4331, allocations: 0 / 1.29 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of Templates: time 0.002539/0.4356, allocations: 0.799 MB / 1.291 GB, free: 12.77 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.57133064698428]