Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001275/0.001275, allocations: 107.2 kB / 16.45 MB, free: 6.035 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.00135/0.00135, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.537/1.537, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.197/3.197, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 68.52 kB / 1.134 GB, free: 33.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3461, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002/0.3481, allocations: 0.5969 MB / 1.305 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002972/0.3484, allocations: 51.8 kB / 1.305 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.3484, allocations: 0 / 1.305 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.3484, allocations: 0 / 1.305 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.124e-06/0.3484, allocations: 0 / 1.305 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3488, allocations: 23.91 kB / 1.305 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.75e-05/0.3489, allocations: 31.97 kB / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.3489, allocations: 0 / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.615e-05/0.3489, allocations: 15.98 kB / 1.305 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.07e-05/0.349, allocations: 15.92 kB / 1.305 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.349, allocations: 4 kB / 1.305 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.3491, allocations: 19.98 kB / 1.305 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.3491, allocations: 7.984 kB / 1.305 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.3491, allocations: 15.92 kB / 1.305 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3493, allocations: 36.11 kB / 1.305 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3493, allocations: 0 / 1.305 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3493, allocations: 0 / 1.305 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.3493, allocations: 4 kB / 1.305 GB, free: 0.7227 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.0004152/0.3497, allocations: 335.5 kB / 1.305 GB, free: 352 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3497, allocations: 16.5 kB / 1.305 GB, free: 336 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.3498, allocations: 42.73 kB / 1.305 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.3498, allocations: 8.891 kB / 1.305 GB, free: 276 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3499, allocations: 160.4 kB / 1.305 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.35, allocations: 8.375 kB / 1.305 GB, free: 68 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.35, allocations: 4.375 kB / 1.305 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.3502, allocations: 66.16 kB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3502, allocations: 3.938 kB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.3502, allocations: 0 / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3502, allocations: 8 kB / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.3503, allocations: 95.88 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/0.3505, allocations: 173.6 kB / 1.306 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3507, allocations: 66.95 kB / 1.306 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.3507, allocations: 33.11 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004112/0.3511, allocations: 409.5 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3511, allocations: 34.5 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.3512, allocations: 4 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0002786/0.3514, allocations: 121.5 kB / 1.306 GB, free: 14.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.3515, allocations: 51.41 kB / 1.306 GB, free: 14.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.3515, allocations: 93.86 kB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3516, allocations: 29.7 kB / 1.306 GB, free: 14.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.3516, allocations: 80.14 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.3516, allocations: 19.84 kB / 1.307 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.3517, allocations: 33.7 kB / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3518, allocations: 318.8 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.3519, allocations: 27.86 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.3519, allocations: 23.98 kB / 1.307 GB, free: 14.18 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.352, allocations: 56.83 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.352, allocations: 0 / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001494/0.3522, allocations: 97.56 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3522, allocations: 7.938 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3522, allocations: 0 / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3522, allocations: 0 / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3523, allocations: 23.92 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3523, allocations: 4 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.246e-05/0.3523, allocations: 7.938 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3524, allocations: 8 kB / 1.307 GB, free: 13.97 MB / 1.014 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.000183/0.3525, allocations: 121.8 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.3526, allocations: 7.938 kB / 1.307 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.3528, allocations: 125.4 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3528, allocations: 4 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3528, allocations: 4 kB / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3528, allocations: 0 / 1.307 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.353, allocations: 169.7 kB / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.353, allocations: 0 / 1.308 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.353, allocations: 19.98 kB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.353, allocations: 7.875 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3531, allocations: 4 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3531, allocations: 0 / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3531, allocations: 0 / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.3533, allocations: 133.9 kB / 1.308 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.3533, allocations: 92.97 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.3533, allocations: 0 / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.3533, allocations: 0 / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.3534, allocations: 11.98 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3534, allocations: 4 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.3534, allocations: 75.28 kB / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3534, allocations: 0 / 1.308 GB, free: 13.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001995/0.3536, allocations: 12 kB / 1.308 GB, free: 13.09 MB / 1.014 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.0005767/0.3542, allocations: 0.6865 MB / 1.309 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3543, allocations: 55.97 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3544, allocations: 3.938 kB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.394e-05/0.3544, allocations: 31.92 kB / 1.309 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.3545, allocations: 13.56 kB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.355, allocations: 174.5 kB / 1.309 GB, free: 12.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.3553, allocations: 0.6923 MB / 1.31 GB, free: 11.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.97e-05/0.3554, allocations: 31.95 kB / 1.31 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.3555, allocations: 19.42 kB / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of SimCode: time 7.21e-07/0.3555, allocations: 0 / 1.31 GB, free: 11.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.3789, allocations: 1.564 MB / 1.311 GB, free: 9.836 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.411, allocations: 9.453 kB / 1.311 GB, free: 9.832 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --stepSize=0.00556 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.125220683868974]