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.001739/0.001739, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002001/0.002001, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.483/1.483, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.88/2.88, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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: 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_11_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_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 79.88 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8741, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001722/0.8758, allocations: 0.5927 MB / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002845/0.8761, allocations: 55.78 kB / 1.275 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.8761, allocations: 0 / 1.275 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.8762, allocations: 0 / 1.275 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.8762, allocations: 3.938 kB / 1.275 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.8765, allocations: 23.97 kB / 1.275 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.8765, allocations: 27.98 kB / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.8766, allocations: 0 / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.8766, allocations: 15.97 kB / 1.275 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.879e-05/0.8766, allocations: 11.94 kB / 1.275 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.8767, allocations: 4 kB / 1.275 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.8768, allocations: 15.98 kB / 1.275 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.552e-05/0.8768, allocations: 15.97 kB / 1.275 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.8768, allocations: 7.938 kB / 1.275 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.8769, allocations: 38.56 kB / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8769, allocations: 0 / 1.275 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8769, allocations: 4 kB / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8769, allocations: 4 kB / 1.275 GB, free: 3.719 MB / 0.9669 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.000442/0.8774, allocations: 347.3 kB / 1.275 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.8774, allocations: 11.97 kB / 1.275 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.8774, allocations: 4.938 kB / 1.275 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.8776, allocations: 160.4 kB / 1.275 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.8776, allocations: 4.375 kB / 1.275 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.8776, allocations: 8.375 kB / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.8777, allocations: 62.22 kB / 1.275 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.8777, allocations: 8.188 kB / 1.275 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.8778, allocations: 3.938 kB / 1.275 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8778, allocations: 0 / 1.275 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.8779, allocations: 103.8 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.8781, allocations: 177.5 kB / 1.276 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.8782, allocations: 66.48 kB / 1.276 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.885e-05/0.8783, allocations: 28.84 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/0.8787, allocations: 405.8 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.8787, allocations: 42.5 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.8787, allocations: 0 / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0002656/0.879, allocations: 117.5 kB / 1.276 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.879, allocations: 55.41 kB / 1.276 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/0.8791, allocations: 97.81 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.8791, allocations: 25.7 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.8791, allocations: 84.12 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.8792, allocations: 23.8 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.8792, allocations: 37.7 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.8794, allocations: 314.8 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.924e-05/0.8794, allocations: 19.92 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.8794, allocations: 23.98 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.675e-05/0.8795, allocations: 56.83 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8795, allocations: 4 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000148/0.8797, allocations: 89.61 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.8797, allocations: 11.94 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8797, allocations: 7.938 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8797, allocations: 0 / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.8798, allocations: 19.98 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8798, allocations: 0 / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.8799, allocations: 3.953 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.8799, allocations: 4 kB / 1.277 GB, free: 1.02 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.0001485/0.88, allocations: 125.8 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.88, allocations: 0 / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.8802, allocations: 133.5 kB / 1.277 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.8803, allocations: 3.984 kB / 1.277 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.8803, allocations: 0 / 1.277 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8803, allocations: 0 / 1.277 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.8804, allocations: 177.6 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8804, allocations: 0 / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/0.8805, allocations: 23.92 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.8805, allocations: 7.938 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.8805, allocations: 3.938 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8805, allocations: 0 / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8805, allocations: 4 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.8807, allocations: 125.9 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.8807, allocations: 81.05 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.8808, allocations: 8 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/0.8808, allocations: 7.938 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.8808, allocations: 7.984 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.8808, allocations: 0 / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.8808, allocations: 75.28 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8809, allocations: 8 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000206/0.8811, allocations: 12 kB / 1.278 GB, free: 132 kB / 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.0001989/0.8813, allocations: 123.6 kB / 1.278 GB, free: 16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.8814, allocations: 59.95 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8814, allocations: 0 / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.8815, allocations: 35.91 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.8816, allocations: 8 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.8819, allocations: 156.8 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.8822, allocations: 0.6866 MB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.567e-05/0.8823, allocations: 31.94 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.8823, allocations: 23.42 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8823, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of Templates: time 0.00306/0.8854, allocations: 0.6113 MB / 1.28 GB, free: 14.34 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] 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: 8.98974409000948]