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.001292/0.001292, allocations: 106 kB / 16.45 MB, free: 6.445 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.001373/0.001373, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 3.723 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.612/2.612, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 67.89 kB / 1.056 GB, free: 2.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3049, allocations: 160.7 MB / 1.213 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001976/0.3069, allocations: 0.5961 MB / 1.214 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.3072, allocations: 59.78 kB / 1.214 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.3072, allocations: 0 / 1.214 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.3073, allocations: 0 / 1.214 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-06/0.3073, allocations: 0 / 1.214 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3076, allocations: 19.92 kB / 1.214 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.487e-05/0.3077, allocations: 31.97 kB / 1.214 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.3077, allocations: 4 kB / 1.214 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.3077, allocations: 11.98 kB / 1.214 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.534e-05/0.3078, allocations: 15.92 kB / 1.214 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3078, allocations: 0 / 1.214 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.74e-05/0.3079, allocations: 19.98 kB / 1.214 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.3079, allocations: 11.98 kB / 1.214 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.3079, allocations: 11.92 kB / 1.214 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.308, allocations: 36.11 kB / 1.214 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.308, allocations: 0 / 1.214 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.814e-06/0.308, allocations: 0 / 1.214 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3081, allocations: 0 / 1.214 GB, free: 0.5977 MB / 0.9512 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.0004422/0.3085, allocations: 351.4 kB / 1.214 GB, free: 208 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3085, allocations: 8.031 kB / 1.214 GB, free: 200 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.3086, allocations: 34.75 kB / 1.214 GB, free: 156 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.3086, allocations: 4.938 kB / 1.214 GB, free: 152 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3087, allocations: 168.3 kB / 1.214 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.3087, allocations: 4.375 kB / 1.214 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.3088, allocations: 384 / 1.214 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3089, allocations: 66.22 kB / 1.214 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3089, allocations: 3.938 kB / 1.214 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3089, allocations: 8 kB / 1.214 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.3089, allocations: 0 / 1.214 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3091, allocations: 107.8 kB / 1.214 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.3093, allocations: 169.6 kB / 1.215 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.3094, allocations: 70.47 kB / 1.215 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.3095, allocations: 28.84 kB / 1.215 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/0.3099, allocations: 397.5 kB / 1.215 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.3099, allocations: 42.89 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.3099, allocations: 0 / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002557/0.3102, allocations: 121.4 kB / 1.215 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.3102, allocations: 55.39 kB / 1.215 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.036e-05/0.3103, allocations: 97.81 kB / 1.215 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3103, allocations: 29.7 kB / 1.215 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.3103, allocations: 80.14 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.3103, allocations: 27.78 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.3104, allocations: 33.7 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3106, allocations: 314.8 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.3106, allocations: 23.98 kB / 1.216 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.3107, allocations: 27.91 kB / 1.216 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.657e-05/0.3108, allocations: 56.84 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3108, allocations: 0 / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001482/0.3109, allocations: 89.61 kB / 1.216 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3109, allocations: 11.92 kB / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3109, allocations: 0 / 1.216 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3109, allocations: 7.938 kB / 1.216 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.833e-05/0.311, allocations: 20 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.311, allocations: 0 / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.3111, allocations: 11.89 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3111, allocations: 3.984 kB / 1.216 GB, free: 13.84 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.0001594/0.3112, allocations: 121.1 kB / 1.216 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.3113, allocations: 7.938 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.3115, allocations: 129.5 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-06/0.3115, allocations: 4 kB / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3115, allocations: 0 / 1.216 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3115, allocations: 4 kB / 1.216 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.3116, allocations: 165.7 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3116, allocations: 0 / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.765e-05/0.3117, allocations: 20 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3117, allocations: 3.938 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3117, allocations: 3.984 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3117, allocations: 4 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3117, allocations: 7.875 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.3119, allocations: 121.9 kB / 1.217 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.3119, allocations: 92.92 kB / 1.217 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.3119, allocations: 4 kB / 1.217 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.64e-05/0.312, allocations: 4 kB / 1.217 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.312, allocations: 4 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.312, allocations: 7.984 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.312, allocations: 75.28 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.312, allocations: 4 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002053/0.3123, allocations: 16 kB / 1.217 GB, free: 12.95 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.0005856/0.3128, allocations: 0.6748 MB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.313, allocations: 55.95 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.313, allocations: 4 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-05/0.313, allocations: 35.86 kB / 1.218 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.3132, allocations: 8 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.3136, allocations: 178.5 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.3139, allocations: 0.6846 MB / 1.218 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.788e-05/0.314, allocations: 31.94 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.314, allocations: 27.44 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of SimCode: time 4.1e-07/0.314, allocations: 0 / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0676/0.3816, allocations: 1.568 MB / 1.22 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.648, allocations: 12 kB / 1.22 GB, free: 9.699 MB / 0.9669 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] 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: 14.687470281030983]