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.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.0015/0.0015, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001366/0.001366, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.422/1.422, allocations: 225.6 MB / 249.4 MB, free: 3.332 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.744/2.744, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002017/0.002017, allocations: 67.89 kB / 1.107 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9407/0.9427, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002041/0.9448, allocations: 0.6121 MB / 1.272 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.9451, allocations: 59 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/0.9451, allocations: 0.7812 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.9451, allocations: 0 / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.9451, allocations: 0 / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.9454, allocations: 14.73 kB / 1.272 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.9455, allocations: 34.75 kB / 1.272 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.9456, allocations: 2.109 kB / 1.272 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.656e-05/0.9456, allocations: 13.06 kB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.9457, allocations: 12.12 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.9457, allocations: 1.812 kB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.9458, allocations: 25.05 kB / 1.272 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.9458, allocations: 12.16 kB / 1.272 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.9458, allocations: 18.25 kB / 1.272 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.946, allocations: 33.62 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.946, allocations: 1 kB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.946, allocations: 3.938 kB / 1.272 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.946, allocations: 0 / 1.272 GB, free: 7.219 MB / 0.9981 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.0003/0.9463, allocations: 334.5 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.9463, allocations: 9.766 kB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.9463, allocations: 38.14 kB / 1.273 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.9464, allocations: 10.92 kB / 1.273 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.03e-05/0.9464, allocations: 170.4 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.9465, allocations: 2.625 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.9465, allocations: 7.531 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.9466, allocations: 61.42 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.9467, allocations: 4.547 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.9467, allocations: 0.6875 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.9467, allocations: 1.594 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.9469, allocations: 105.1 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.9471, allocations: 173 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.9472, allocations: 74.81 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.72e-05/0.9473, allocations: 25.59 kB / 1.273 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.9476, allocations: 404 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.9476, allocations: 32.25 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.9476, allocations: 0 / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0003242/0.9479, allocations: 114.7 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.9479, allocations: 60.31 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.283e-05/0.9479, allocations: 97.3 kB / 1.274 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.948, allocations: 30.86 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.062e-05/0.948, allocations: 84.14 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.948, allocations: 28.81 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.9481, allocations: 31.58 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/0.9481, allocations: 318.4 kB / 1.274 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.9482, allocations: 20.55 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.9482, allocations: 24.41 kB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.9484, allocations: 54.64 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9484, allocations: 0 / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002086/0.9486, allocations: 98.11 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.9486, allocations: 9.25 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.9486, allocations: 1.703 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9486, allocations: 0.8125 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.9487, allocations: 17.5 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.9488, allocations: 1.672 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.9488, allocations: 4.953 kB / 1.275 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.9488, allocations: 7.406 kB / 1.275 GB, free: 4.969 MB / 0.9981 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.0001227/0.9489, allocations: 124.8 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.9489, allocations: 6.344 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.9492, allocations: 129.8 kB / 1.275 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.9492, allocations: 6.078 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9492, allocations: 4 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9492, allocations: 3.938 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.993e-05/0.9493, allocations: 174.4 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9493, allocations: 0 / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.9494, allocations: 17.55 kB / 1.275 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.9494, allocations: 3.938 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.9495, allocations: 2.516 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.9495, allocations: 1.031 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9495, allocations: 5.438 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.9497, allocations: 124.3 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.981e-05/0.9497, allocations: 87.84 kB / 1.275 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.9497, allocations: 4.875 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.9497, allocations: 1.375 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.9498, allocations: 9.531 kB / 1.275 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.9498, allocations: 6.906 kB / 1.275 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.274e-05/0.9498, allocations: 75.28 kB / 1.275 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9498, allocations: 3.938 kB / 1.275 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003453/0.9501, allocations: 14.94 kB / 1.275 GB, free: 4.27 MB / 0.9981 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.0004966/0.9506, allocations: 0.6769 MB / 1.276 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.9508, allocations: 68.55 kB / 1.276 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9508, allocations: 3.938 kB / 1.276 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.472e-05/0.9509, allocations: 30.14 kB / 1.276 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.9511, allocations: 4.531 kB / 1.276 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.9517, allocations: 194.9 kB / 1.276 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.9519, allocations: 0.6859 MB / 1.277 GB, free: 18.75 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.9521, allocations: 35.34 kB / 1.277 GB, free: 18.75 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.9521, allocations: 17.67 kB / 1.277 GB, free: 18.74 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.9521, allocations: 3.938 kB / 1.277 GB, free: 18.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.9758, allocations: 1.547 MB / 1.279 GB, free: 18.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.396/9.372, allocations: 2.672 kB / 1.279 GB, free: 18.35 MB / 1.014 GB " [Timeout remaining time 291] (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 --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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.3022767349903]