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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.002248/0.002248, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.687/1.687, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.712/2.712, allocations: 443.5 MB / 0.7293 GB, free: 14.59 MB / 0.5763 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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.002079/0.002079, allocations: 67.89 kB / 1.057 GB, free: 2.047 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3615, allocations: 160.7 MB / 1.214 GB, free: 1.02 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002089/0.3636, allocations: 0.5791 MB / 1.215 GB, free: 448 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.0003336/0.3639, allocations: 67.77 kB / 1.215 GB, free: 380 kB / 0.9513 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.3639, allocations: 3.938 kB / 1.215 GB, free: 376 kB / 0.9513 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.364, allocations: 4 kB / 1.215 GB, free: 372 kB / 0.9513 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.364, allocations: 0 / 1.215 GB, free: 372 kB / 0.9513 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.3643, allocations: 19.92 kB / 1.215 GB, free: 352 kB / 0.9513 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3644, allocations: 31.97 kB / 1.215 GB, free: 320 kB / 0.9513 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3645, allocations: 3.984 kB / 1.215 GB, free: 316 kB / 0.9513 GB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.3645, allocations: 8 kB / 1.215 GB, free: 308 kB / 0.9513 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.3645, allocations: 15.92 kB / 1.215 GB, free: 292 kB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3645, allocations: 0 / 1.215 GB, free: 292 kB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3647, allocations: 19.97 kB / 1.215 GB, free: 272 kB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.3647, allocations: 12 kB / 1.215 GB, free: 260 kB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.3647, allocations: 11.94 kB / 1.215 GB, free: 248 kB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.3649, allocations: 39.83 kB / 1.215 GB, free: 208 kB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3649, allocations: 0 / 1.215 GB, free: 208 kB / 0.9513 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3649, allocations: 0 / 1.215 GB, free: 208 kB / 0.9513 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3649, allocations: 0 / 1.215 GB, free: 208 kB / 0.9513 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.0004799/0.3653, allocations: 339.4 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3654, allocations: 15.98 kB / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.3654, allocations: 0.9375 kB / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3656, allocations: 160.4 kB / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3656, allocations: 8.375 kB / 1.215 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.3656, allocations: 8.375 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.3658, allocations: 70.09 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3658, allocations: 192 / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3658, allocations: 3.938 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3658, allocations: 4 kB / 1.215 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.366, allocations: 99.86 kB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.3662, allocations: 173.6 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.3664, allocations: 70.48 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.86e-05/0.3664, allocations: 32.84 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004339/0.3668, allocations: 409.5 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3669, allocations: 30.56 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3669, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002952/0.3672, allocations: 117.9 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.3672, allocations: 51.41 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.3673, allocations: 101.8 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3673, allocations: 29.7 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.3674, allocations: 84.14 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.3674, allocations: 23.8 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.3675, allocations: 33.64 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3676, allocations: 314.8 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.3677, allocations: 23.98 kB / 1.217 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.365e-05/0.3677, allocations: 23.92 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3679, allocations: 64.77 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3679, allocations: 0 / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001502/0.3681, allocations: 85.67 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3681, allocations: 10.03 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3681, allocations: 3.938 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3681, allocations: 4 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3682, allocations: 19.92 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3682, allocations: 0 / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.3683, allocations: 11.89 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3683, allocations: 11.94 kB / 1.217 GB, free: 13.5 MB / 0.9669 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 0.0001812/0.3685, allocations: 125.5 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.3685, allocations: 7.984 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.3687, allocations: 122.2 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3687, allocations: 4 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3687, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3687, allocations: 7.922 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3689, allocations: 169.7 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3689, allocations: 0 / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.004e-05/0.369, allocations: 19.98 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.369, allocations: 3.938 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.369, allocations: 8 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.369, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.369, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.3692, allocations: 125.1 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.3693, allocations: 92.94 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.3693, allocations: 0 / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.565e-05/0.3693, allocations: 3.938 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.3693, allocations: 11.98 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.3693, allocations: 8 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.993e-05/0.3694, allocations: 75.28 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3694, allocations: 0 / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002145/0.3696, allocations: 19.98 kB / 1.218 GB, free: 12.6 MB / 0.9669 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.000217/0.3698, allocations: 103.2 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.37, allocations: 67.83 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.37, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.37, allocations: 35.98 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.3702, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.3706, allocations: 186.4 kB / 1.218 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.3709, allocations: 0.6845 MB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.371, allocations: 15.44 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.371, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of Templates: time 0.00284/0.3738, allocations: 0.9532 MB / 1.22 GB, free: 10.5 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 [Calling sys.exit(0), Time elapsed: 10.991185996914282]