Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001136/0.001136, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008092/0.0008092, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8766/0.8766, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.603/1.603, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9518 GB, free: 1.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.711e-05, allocations: 2.281 kB / 0.9518 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0009345/0.0009516, allocations: 0.5839 MB / 0.9524 GB, free: 1.215 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002009/0.001152, allocations: 59.73 kB / 0.9524 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.001169, allocations: 0 / 0.9524 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.001195, allocations: 3.938 kB / 0.9524 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.012e-06/0.001201, allocations: 0 / 0.9524 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.001456, allocations: 23.91 kB / 0.9524 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.001522, allocations: 27.97 kB / 0.9525 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.001554, allocations: 4 kB / 0.9525 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.212e-05/0.001586, allocations: 15.98 kB / 0.9525 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.208e-05/0.001608, allocations: 11.97 kB / 0.9525 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.001622, allocations: 7.938 kB / 0.9525 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.001696, allocations: 15.98 kB / 0.9525 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.001718, allocations: 11.98 kB / 0.9525 GB, free: 1.035 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.001739, allocations: 7.984 kB / 0.9525 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.001836, allocations: 43.81 kB / 0.9526 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.001838, allocations: 0 / 0.9526 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.21e-07/0.001839, allocations: 0 / 0.9526 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.001842, allocations: 0 / 0.9526 GB, free: 0.9844 MB / 0.8542 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.0002194/0.002062, allocations: 274.3 kB / 0.9528 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.002093, allocations: 8.031 kB / 0.9529 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.002119, allocations: 0.9375 kB / 0.9529 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.905e-05/0.002168, allocations: 113.7 kB / 0.953 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.002177, allocations: 4.375 kB / 0.953 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.002187, allocations: 8.375 kB / 0.953 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.002287, allocations: 66.22 kB / 0.953 GB, free: 468 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.002293, allocations: 192 / 0.953 GB, free: 468 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.002301, allocations: 384 / 0.953 GB, free: 468 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.002305, allocations: 384 / 0.953 GB, free: 468 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.852e-05/0.002394, allocations: 95.81 kB / 0.9531 GB, free: 372 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.002505, allocations: 129.1 kB / 0.9533 GB, free: 212 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.938e-05/0.002584, allocations: 70.48 kB / 0.9533 GB, free: 132 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.002616, allocations: 28.84 kB / 0.9533 GB, free: 100 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.00277, allocations: 15.98 kB / 0.9534 GB, free: 84 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.002788, allocations: 42.55 kB / 0.9534 GB, free: 32 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 8.32e-07/0.002789, allocations: 0 / 0.9534 GB, free: 32 kB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0001822/0.002971, allocations: 110.2 kB / 0.9535 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.002995, allocations: 55.34 kB / 0.9536 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.931e-05/0.003024, allocations: 97.81 kB / 0.9537 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.003035, allocations: 25.7 kB / 0.9537 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 1.8e-05/0.003053, allocations: 92.08 kB / 0.9538 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.003078, allocations: 19.89 kB / 0.9538 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.003106, allocations: 25.72 kB / 0.9538 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.867e-05/0.003175, allocations: 322.8 kB / 0.9541 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.0032, allocations: 19.98 kB / 0.9541 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.003225, allocations: 24.03 kB / 0.9542 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.003291, allocations: 56.84 kB / 0.9542 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.003294, allocations: 3.984 kB / 0.9542 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.084e-05/0.003385, allocations: 97.5 kB / 0.9543 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.003395, allocations: 4 kB / 0.9543 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.003399, allocations: 0 / 0.9543 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.00341, allocations: 4 kB / 0.9543 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.003481, allocations: 23.98 kB / 0.9543 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.003485, allocations: 0 / 0.9543 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.354e-05/0.003498, allocations: 11.88 kB / 0.9544 GB, free: 15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.003503, allocations: 0 / 0.9544 GB, free: 15 MB / 0.8698 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 7.048e-05/0.003573, allocations: 121.8 kB / 0.9545 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.00358, allocations: 7.953 kB / 0.9545 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.003716, allocations: 125.5 kB / 0.9546 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.003719, allocations: 8 kB / 0.9546 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.003722, allocations: 0 / 0.9546 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.003726, allocations: 3.938 kB / 0.9546 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.592e-05/0.003792, allocations: 125.2 kB / 0.9547 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.003793, allocations: 0 / 0.9547 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.003827, allocations: 19.98 kB / 0.9547 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.003829, allocations: 0 / 0.9547 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.003835, allocations: 0 / 0.9547 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.003835, allocations: 0 / 0.9547 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.003837, allocations: 4 kB / 0.9547 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.117e-05/0.003929, allocations: 121 kB / 0.9549 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.023e-06/0.003936, allocations: 15.95 kB / 0.9549 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.003945, allocations: 4 kB / 0.9549 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-06/0.003952, allocations: 0 / 0.9549 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.003978, allocations: 15.86 kB / 0.9549 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.003983, allocations: 8 kB / 0.9549 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.742e-05/0.004, allocations: 75.28 kB / 0.955 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.004, allocations: 0 / 0.955 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001272/0.004127, allocations: 12 kB / 0.955 GB, free: 14.28 MB / 0.8698 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.0001037/0.004231, allocations: 115.7 kB / 0.9551 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.045e-05/0.004321, allocations: 60.45 kB / 0.9552 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.004322, allocations: 0 / 0.9552 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.004349, allocations: 36.12 kB / 0.9552 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.271e-05/0.004442, allocations: 10.45 kB / 0.9552 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002104/0.004653, allocations: 182.3 kB / 0.9554 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.902e-05/0.004692, allocations: 79.22 kB / 0.9555 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.004712, allocations: 16.5 kB / 0.9555 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of SimCode: time 5.11e-07/0.004713, allocations: 0 / 0.9555 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of Templates: time 0.001497/0.00621, allocations: 0.9721 MB / 0.9564 GB, free: 12.76 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.353076243773103]