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.0008251/0.0008251, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001006/0.001006, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9195/0.9195, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.641/1.641, allocations: 359 MB / 0.6037 GB, free: 11.11 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.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.484e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001935/0.00196, allocations: 1.555 MB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002775/0.002237, allocations: 135.5 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.002269, allocations: 0 / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.002295, allocations: 3.984 kB / 0.9521 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.659e-05/0.002332, allocations: 11.88 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.002616, allocations: 31.89 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.344e-05/0.002689, allocations: 35.92 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.002782, allocations: 8 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.002822, allocations: 23.91 kB / 0.9523 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.737e-05/0.002859, allocations: 15.98 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.002874, allocations: 4 kB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.456e-05/0.002949, allocations: 23.91 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.002964, allocations: 11.98 kB / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.002987, allocations: 15.92 kB / 0.9523 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.003111, allocations: 43.92 kB / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003113, allocations: 0 / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003114, allocations: 0 / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003118, allocations: 0 / 0.9524 GB, free: 1.574 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003883/0.003506, allocations: 290.1 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.003548, allocations: 8.031 kB / 0.9526 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.003578, allocations: 30.75 kB / 0.9527 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.003601, allocations: 4.938 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.552e-05/0.003687, allocations: 125.6 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.003709, allocations: 384 / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.00372, allocations: 4.375 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.003863, allocations: 58.23 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.003872, allocations: 4.172 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.003881, allocations: 384 / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.003887, allocations: 8.125 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.003992, allocations: 43.95 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.004302, allocations: 243.9 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.004513, allocations: 58.47 kB / 0.9532 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.004566, allocations: 29.5 kB / 0.9532 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-05/0.004664, allocations: 15.98 kB / 0.9532 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.004678, allocations: 34.56 kB / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.004679, allocations: 0 / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0002279/0.004907, allocations: 105.5 kB / 0.9534 GB, free: 400 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.004932, allocations: 51.41 kB / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.569e-05/0.004987, allocations: 105.8 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.004996, allocations: 29.7 kB / 0.9536 GB, free: 184 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.005031, allocations: 84.14 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.005043, allocations: 7.891 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.005069, allocations: 17.72 kB / 0.9537 GB, free: 64 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.005151, allocations: 322.8 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.531e-05/0.005197, allocations: 19.98 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.005238, allocations: 23.97 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.154e-05/0.00533, allocations: 44.77 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005331, allocations: 3.938 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000121/0.005452, allocations: 89.53 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.005465, allocations: 6.188 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.005469, allocations: 0 / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.005481, allocations: 0 / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.339e-05/0.005525, allocations: 11.98 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.005529, allocations: 320 / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.005554, allocations: 4 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.005561, allocations: 7.984 kB / 0.9542 GB, free: 15.52 MB / 0.9167 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 5.387e-05/0.005615, allocations: 109.8 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.005628, allocations: 11.94 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001514/0.005779, allocations: 89.56 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.005781, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.005785, allocations: 4 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005787, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.005888, allocations: 132.7 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.005889, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.005919, allocations: 15.92 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.005921, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.005927, allocations: 4 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.005928, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005929, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.00607, allocations: 183.7 kB / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.006078, allocations: 4 kB / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.006089, allocations: 4 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.006128, allocations: 7.984 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.006173, allocations: 7.984 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.006175, allocations: 0 / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.006205, allocations: 91.28 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.006205, allocations: 0 / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001558/0.006361, allocations: 8 kB / 0.9548 GB, free: 14.78 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: 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.0003655/0.006726, allocations: 0.7123 MB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.006862, allocations: 55.88 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006863, allocations: 0 / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.006909, allocations: 19.98 kB / 0.9556 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.007112, allocations: 11.94 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008809/0.007993, allocations: 1.284 MB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.997e-05/0.008043, allocations: 71.28 kB / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.008066, allocations: 4 kB / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.008103, allocations: 20.48 kB / 0.9569 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.008104, allocations: 0 / 0.9569 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.0223, allocations: 2.386 MB / 0.9593 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/6.79, allocations: 10.19 kB / 0.9593 GB, free: 10.22 MB / 0.9167 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] 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/jenkins/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: 10.702376429922879]