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.001299/0.001299, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001431/0.001431, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.968/2.968, allocations: 443.4 MB / 0.7321 GB, free: 12.33 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.88 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7791, allocations: 160.8 MB / 1.218 GB, free: 3.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002035/0.7812, allocations: 0.5919 MB / 1.219 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00036/0.7815, allocations: 62.11 kB / 1.219 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.7816, allocations: 0 / 1.219 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.7816, allocations: 0 / 1.219 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.853e-06/0.7816, allocations: 0 / 1.219 GB, free: 3.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.7819, allocations: 23.02 kB / 1.219 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.7821, allocations: 39.89 kB / 1.219 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.479e-05/0.7821, allocations: 1.062 kB / 1.219 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.7821, allocations: 10.78 kB / 1.219 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.7822, allocations: 17.59 kB / 1.219 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.7822, allocations: 1.125 kB / 1.219 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.7823, allocations: 16.89 kB / 1.219 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.7824, allocations: 14.36 kB / 1.219 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.7824, allocations: 15.95 kB / 1.219 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.7825, allocations: 30.56 kB / 1.219 GB, free: 3.242 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7825, allocations: 1.344 kB / 1.219 GB, free: 3.242 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7825, allocations: 4 kB / 1.219 GB, free: 3.238 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7826, allocations: 0 / 1.219 GB, free: 3.238 MB / 0.92 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.0005371/0.7831, allocations: 344.3 kB / 1.22 GB, free: 2.867 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/0.7832, allocations: 13.06 kB / 1.22 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.7832, allocations: 3.25 kB / 1.22 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.7834, allocations: 164.4 kB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.7835, allocations: 2.594 kB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.7835, allocations: 8.375 kB / 1.22 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.7838, allocations: 59.05 kB / 1.22 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.7838, allocations: 4.188 kB / 1.22 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.7838, allocations: 4.938 kB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.7838, allocations: 1.219 kB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.7841, allocations: 106.9 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.7844, allocations: 177.3 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.7846, allocations: 74.47 kB / 1.22 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.7847, allocations: 26.7 kB / 1.22 GB, free: 2.277 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.7854, allocations: 409.7 kB / 1.221 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.7854, allocations: 39.83 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.7854, allocations: 0 / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004542/0.7859, allocations: 113.3 kB / 1.221 GB, free: 1.68 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.7859, allocations: 56.53 kB / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.786, allocations: 95.22 kB / 1.221 GB, free: 1.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.7861, allocations: 31.14 kB / 1.221 GB, free: 1.477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.7861, allocations: 80.14 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.7862, allocations: 19.48 kB / 1.221 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/0.7863, allocations: 36.02 kB / 1.221 GB, free: 1.348 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.7865, allocations: 321.3 kB / 1.221 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.7865, allocations: 22.73 kB / 1.221 GB, free: 1.016 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.597e-05/0.7866, allocations: 20.8 kB / 1.221 GB, free: 1.008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.7867, allocations: 57.09 kB / 1.221 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7867, allocations: 0 / 1.221 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002127/0.7869, allocations: 100.7 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.787, allocations: 5.844 kB / 1.222 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.787, allocations: 3.938 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/0.787, allocations: 5.125 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.7872, allocations: 18.95 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.7872, allocations: 1.125 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.7872, allocations: 5.203 kB / 1.222 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.7872, allocations: 6.625 kB / 1.222 GB, free: 0.8945 MB / 0.92 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.000266/0.7875, allocations: 131.2 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.7875, allocations: 2.5 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.7878, allocations: 122.5 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.7878, allocations: 1.062 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7878, allocations: 0 / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.7878, allocations: 1.062 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.7881, allocations: 182.3 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.7881, allocations: 1.125 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.7882, allocations: 22.67 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.7882, allocations: 9.094 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.7882, allocations: 1.031 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.7882, allocations: 1.031 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7882, allocations: 4 kB / 1.222 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.7885, allocations: 118.2 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.7886, allocations: 91.03 kB / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.7886, allocations: 1.125 kB / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.7886, allocations: 5.25 kB / 1.222 GB, free: 252 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.7887, allocations: 7.391 kB / 1.222 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.7887, allocations: 6.469 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.7887, allocations: 75.28 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.7887, allocations: 5.156 kB / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000261/0.789, allocations: 10 kB / 1.222 GB, free: 164 kB / 0.92 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.0002492/0.7892, allocations: 125.6 kB / 1.223 GB, free: 52 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.7894, allocations: 57.41 kB / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7894, allocations: 0 / 1.223 GB, free: 32 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.7895, allocations: 37.66 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.7897, allocations: 6.094 kB / 1.223 GB, free: 12 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.7901, allocations: 150.8 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.7905, allocations: 0.6833 MB / 1.223 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.043e-05/0.7906, allocations: 38.39 kB / 1.223 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.7907, allocations: 12.97 kB / 1.223 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of SimCode: time 6.72e-07/0.7907, allocations: 0 / 1.223 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of Templates: time 0.003529/0.7942, allocations: 0.6346 MB / 1.224 GB, free: 14.82 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (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 & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.933670775033534]