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.0007193/0.0007193, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001367/0.001367, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.882/0.882, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.622/1.622, allocations: 359 MB / 0.6037 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9505 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.348e-05/1.489e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00104/0.001055, allocations: 0.5986 MB / 0.9511 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002065/0.001261, allocations: 55.8 kB / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.001277, allocations: 0 / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.001304, allocations: 0 / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-06/0.00131, allocations: 0 / 0.9512 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.001576, allocations: 27.91 kB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.001649, allocations: 27.97 kB / 0.9512 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.001683, allocations: 3.938 kB / 0.9512 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.403e-05/0.001717, allocations: 19.97 kB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.145e-05/0.001738, allocations: 7.984 kB / 0.9513 GB, free: 2.672 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.001752, allocations: 4 kB / 0.9513 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.001825, allocations: 19.97 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.001848, allocations: 7.938 kB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.001874, allocations: 19.97 kB / 0.9513 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.022e-05/0.001965, allocations: 31.89 kB / 0.9513 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.001966, allocations: 0 / 0.9513 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.91e-07/0.001967, allocations: 4 kB / 0.9514 GB, free: 2.586 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.001971, allocations: 0 / 0.9514 GB, free: 2.586 MB / 0.9011 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.0002347/0.002205, allocations: 274.2 kB / 0.9516 GB, free: 2.285 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.002243, allocations: 8.031 kB / 0.9516 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.002272, allocations: 38.69 kB / 0.9517 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.002296, allocations: 0.9375 kB / 0.9517 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.192e-05/0.002347, allocations: 109.8 kB / 0.9518 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.002357, allocations: 384 / 0.9518 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.002366, allocations: 4.375 kB / 0.9518 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.002471, allocations: 66.16 kB / 0.9518 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.002478, allocations: 192 / 0.9518 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.002486, allocations: 8.375 kB / 0.9518 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.002493, allocations: 12.11 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.412e-05/0.002587, allocations: 95.86 kB / 0.9519 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.002706, allocations: 140.7 kB / 0.9521 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.002789, allocations: 62.55 kB / 0.9521 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.002821, allocations: 28.84 kB / 0.9522 GB, free: 1.629 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.00297, allocations: 16.31 kB / 0.9522 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.002991, allocations: 46.44 kB / 0.9522 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=11): time 7.21e-07/0.002991, allocations: 0 / 0.9522 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0002587/0.00325, allocations: 105.7 kB / 0.9523 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.003277, allocations: 63.33 kB / 0.9524 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.862e-05/0.003305, allocations: 97.81 kB / 0.9525 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.003315, allocations: 29.7 kB / 0.9525 GB, free: 1.234 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.641e-05/0.003331, allocations: 80.14 kB / 0.9526 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.003356, allocations: 27.78 kB / 0.9526 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.003386, allocations: 29.7 kB / 0.9526 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.003453, allocations: 314.8 kB / 0.9529 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.953e-05/0.003483, allocations: 23.92 kB / 0.953 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.003508, allocations: 24.36 kB / 0.953 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.896e-05/0.003577, allocations: 64.77 kB / 0.953 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003579, allocations: 0 / 0.953 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.508e-05/0.003664, allocations: 89.67 kB / 0.9531 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.003675, allocations: 10.59 kB / 0.9531 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.00368, allocations: 3.984 kB / 0.9531 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.003692, allocations: 4 kB / 0.9531 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.00376, allocations: 19.94 kB / 0.9532 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.003765, allocations: 3.938 kB / 0.9532 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.003777, allocations: 11.89 kB / 0.9532 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.003785, allocations: 7.984 kB / 0.9532 GB, free: 0.5078 MB / 0.9011 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.005e-05/0.003865, allocations: 121.8 kB / 0.9533 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-06/0.00387, allocations: 3.938 kB / 0.9533 GB, free: 384 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.004006, allocations: 125.5 kB / 0.9534 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.004009, allocations: 7.938 kB / 0.9534 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.004012, allocations: 0 / 0.9534 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.004015, allocations: 0 / 0.9534 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.632e-05/0.004091, allocations: 132.8 kB / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004092, allocations: 0 / 0.9536 GB, free: 64 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.013e-05/0.004133, allocations: 27.92 kB / 0.9536 GB, free: 36 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.004135, allocations: 4 kB / 0.9536 GB, free: 32 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.00414, allocations: 7.938 kB / 0.9536 GB, free: 24 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.004142, allocations: 7.938 kB / 0.9536 GB, free: 16 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.004143, allocations: 0 / 0.9536 GB, free: 16 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.004247, allocations: 121 kB / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-06/0.004252, allocations: 3.938 kB / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.004263, allocations: 7.938 kB / 0.9537 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.076e-06/0.004271, allocations: 4 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.004297, allocations: 7.984 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.0043, allocations: 0 / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 1.846e-05/0.004318, allocations: 83.22 kB / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004318, allocations: 0 / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001344/0.004453, allocations: 12 kB / 0.9538 GB, free: 15.76 MB / 0.9167 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.0002925/0.004745, allocations: 0.6708 MB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.825e-05/0.004843, allocations: 63.89 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.004845, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.298e-05/0.004878, allocations: 43.84 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.339e-05/0.004971, allocations: 4 kB / 0.9546 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.005244, allocations: 178.4 kB / 0.9548 GB, free: 14.74 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.08e-05/0.005285, allocations: 71.25 kB / 0.9548 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.005329, allocations: 35.94 kB / 0.9549 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.005357, allocations: 24.48 kB / 0.9549 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of SimCode: time 3.61e-07/0.005357, allocations: 0 / 0.9549 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.01855, allocations: 2.209 MB / 0.9571 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.814/6.832, allocations: 0 / 0.9571 GB, free: 12.52 MB / 0.9167 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] 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: 10.62633774150163]