Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 102 kB / 16.4 MB, free: 6.508 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7171 GB, free: 4.098 MB / 0.5762 GB [Timeout remaining time 87] 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=527,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=527,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.89 kB / 1.027 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.891/0.893, allocations: 151.6 MB / 1.175 GB, free: 17.97 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001606/0.8946, allocations: 0.5837 MB / 1.176 GB, free: 17.61 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.8949, allocations: 61.23 kB / 1.176 GB, free: 17.57 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.083e-05/0.895, allocations: 0 / 1.176 GB, free: 17.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.895, allocations: 1.438 kB / 1.176 GB, free: 17.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.895, allocations: 0 / 1.176 GB, free: 17.57 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.8953, allocations: 17.47 kB / 1.176 GB, free: 17.56 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.089e-05/0.8954, allocations: 33.94 kB / 1.176 GB, free: 17.55 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.8955, allocations: 3.172 kB / 1.176 GB, free: 17.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.8955, allocations: 13.91 kB / 1.176 GB, free: 17.54 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.997e-05/0.8955, allocations: 9.188 kB / 1.176 GB, free: 17.54 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.8955, allocations: 5.344 kB / 1.176 GB, free: 17.54 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.8956, allocations: 21.44 kB / 1.176 GB, free: 17.53 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.8957, allocations: 10.3 kB / 1.176 GB, free: 17.53 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.8957, allocations: 12.73 kB / 1.176 GB, free: 17.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.8958, allocations: 36.42 kB / 1.176 GB, free: 17.51 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8958, allocations: 0 / 1.176 GB, free: 17.51 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8959, allocations: 0 / 1.176 GB, free: 17.51 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.8959, allocations: 3.938 kB / 1.176 GB, free: 17.5 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002982/0.8962, allocations: 338 kB / 1.176 GB, free: 17.14 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.8962, allocations: 18.66 kB / 1.176 GB, free: 17.14 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.8963, allocations: 3.812 kB / 1.176 GB, free: 17.14 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.089e-05/0.8963, allocations: 166 kB / 1.176 GB, free: 16.94 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.8964, allocations: 7.188 kB / 1.176 GB, free: 16.93 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.8964, allocations: 3.188 kB / 1.176 GB, free: 16.93 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.8965, allocations: 69.55 kB / 1.177 GB, free: 16.89 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.8965, allocations: 192 / 1.177 GB, free: 16.89 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8966, allocations: 5.031 kB / 1.177 GB, free: 16.88 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.8966, allocations: 1.219 kB / 1.177 GB, free: 16.88 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.8967, allocations: 101 kB / 1.177 GB, free: 16.87 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.8969, allocations: 185.5 kB / 1.177 GB, free: 16.66 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.897, allocations: 71.44 kB / 1.177 GB, free: 16.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.8971, allocations: 39.08 kB / 1.177 GB, free: 16.6 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/0.8973, allocations: 404.5 kB / 1.177 GB, free: 16.13 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.8973, allocations: 36.06 kB / 1.177 GB, free: 16.09 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.8974, allocations: 3.938 kB / 1.177 GB, free: 16.08 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0002406/0.8976, allocations: 110.4 kB / 1.177 GB, free: 16.03 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.826e-05/0.8976, allocations: 56.88 kB / 1.178 GB, free: 15.96 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.253e-05/0.8976, allocations: 100.7 kB / 1.178 GB, free: 15.86 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.8977, allocations: 25.7 kB / 1.178 GB, free: 15.83 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.618e-06/0.8977, allocations: 80.66 kB / 1.178 GB, free: 15.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.8977, allocations: 24.48 kB / 1.178 GB, free: 15.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.8978, allocations: 36.36 kB / 1.178 GB, free: 15.7 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.8978, allocations: 315.3 kB / 1.178 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.8978, allocations: 18.92 kB / 1.178 GB, free: 15.38 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.8979, allocations: 28.8 kB / 1.178 GB, free: 15.37 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.856e-05/0.898, allocations: 59.5 kB / 1.178 GB, free: 15.35 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.898, allocations: 0 / 1.178 GB, free: 15.35 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001234/0.8981, allocations: 94.67 kB / 1.178 GB, free: 15.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.8981, allocations: 6.641 kB / 1.178 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.8981, allocations: 3.938 kB / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.8982, allocations: 0 / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.8983, allocations: 22.16 kB / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.8983, allocations: 0.5625 kB / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.8983, allocations: 5.922 kB / 1.178 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.8983, allocations: 7.078 kB / 1.178 GB, free: 15.28 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: 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.57e-05/0.8984, allocations: 121 kB / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.8984, allocations: 2.719 kB / 1.178 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.8986, allocations: 127 kB / 1.179 GB, free: 15.09 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.8986, allocations: 5.625 kB / 1.179 GB, free: 15.08 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.8986, allocations: 0 / 1.179 GB, free: 15.08 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8986, allocations: 1.406 kB / 1.179 GB, free: 15.08 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.891e-05/0.8987, allocations: 186.1 kB / 1.179 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8987, allocations: 0 / 1.179 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.8988, allocations: 21.97 kB / 1.179 GB, free: 14.87 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.8988, allocations: 5.125 kB / 1.179 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.8988, allocations: 2 kB / 1.179 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8988, allocations: 0.6562 kB / 1.179 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8988, allocations: 1.438 kB / 1.179 GB, free: 14.86 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.899, allocations: 114.9 kB / 1.179 GB, free: 14.79 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 1.696e-05/0.899, allocations: 95.11 kB / 1.179 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.899, allocations: 6.078 kB / 1.179 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.481e-05/0.899, allocations: 1.312 kB / 1.179 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.8991, allocations: 7.484 kB / 1.179 GB, free: 14.67 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.8991, allocations: 6.734 kB / 1.179 GB, free: 14.67 MB / 0.92 GB Notification: Performance of sorting global known variables: time 1.135e-05/0.8991, allocations: 77.02 kB / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.8991, allocations: 0 / 1.179 GB, free: 14.59 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001935/0.8993, allocations: 18.69 kB / 1.179 GB, free: 14.59 MB / 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: 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.000149/0.8995, allocations: 128.1 kB / 1.179 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.8996, allocations: 60.52 kB / 1.179 GB, free: 14.47 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8996, allocations: 0 / 1.179 GB, free: 14.47 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.206e-05/0.8997, allocations: 31.91 kB / 1.179 GB, free: 14.47 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.8998, allocations: 7.375 kB / 1.179 GB, free: 14.46 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002261/0.9001, allocations: 144.3 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.9002, allocations: 0.6861 MB / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.677e-05/0.9003, allocations: 38.23 kB / 1.18 GB, free: 13.64 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.9003, allocations: 14.17 kB / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.9003, allocations: 0 / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of Templates: time 0.002897/0.9032, allocations: 0.6088 MB / 1.181 GB, free: 13.54 MB / 0.92 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches