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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 106 kB / 15.99 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 195.5 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.686/2.686, allocations: 469.8 MB / 0.7427 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.97 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3513, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001997/0.3533, allocations: 0.6464 MB / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002714/0.3536, allocations: 59.61 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.3536, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.3537, allocations: 3.984 kB / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.3537, allocations: 0 / 1.065 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002816/0.354, allocations: 16 kB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.825e-05/0.3541, allocations: 35.91 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.3541, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.3541, allocations: 11.98 kB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.987e-05/0.3542, allocations: 11.98 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3542, allocations: 4 kB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.3543, allocations: 15.98 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.3543, allocations: 19.92 kB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.3543, allocations: 7.938 kB / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.302e-05/0.3544, allocations: 27.89 kB / 1.065 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3544, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3544, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3545, allocations: 0 / 1.065 GB, free: 14.26 MB / 0.8419 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.000387/0.3548, allocations: 339.6 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3549, allocations: 8.031 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.3549, allocations: 8.844 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3551, allocations: 172.6 kB / 1.065 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3551, allocations: 4.375 kB / 1.065 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3551, allocations: 4.375 kB / 1.065 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3553, allocations: 62.22 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3553, allocations: 192 / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.3553, allocations: 7.938 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3553, allocations: 3.938 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.3555, allocations: 103.8 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.3557, allocations: 173.7 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.3558, allocations: 70.55 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.3559, allocations: 28.84 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/0.3563, allocations: 401.5 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.3563, allocations: 38.56 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.3563, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0002596/0.3566, allocations: 117.8 kB / 1.066 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.3566, allocations: 55.41 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.3567, allocations: 97.77 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3568, allocations: 29.7 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.3568, allocations: 84.12 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3568, allocations: 23.73 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.3569, allocations: 29.7 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.357, allocations: 314.8 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/0.3571, allocations: 19.98 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.3571, allocations: 23.98 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.3572, allocations: 69.36 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3573, allocations: 0 / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001548/0.3574, allocations: 97.45 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3574, allocations: 4 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3575, allocations: 3.938 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3575, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3576, allocations: 23.98 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3576, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.3576, allocations: 7.984 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3576, allocations: 4 kB / 1.067 GB, free: 11.56 MB / 0.8419 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.0001546/0.3578, allocations: 125.8 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.3578, allocations: 7.906 kB / 1.067 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.358, allocations: 129.4 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3581, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3581, allocations: 0 / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3581, allocations: 8 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3582, allocations: 169.6 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3582, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.3583, allocations: 23.92 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3583, allocations: 3.938 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3583, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3584, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.3584, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.3585, allocations: 121 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.3586, allocations: 84.95 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.3586, allocations: 4 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.632e-05/0.3586, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.3587, allocations: 7.984 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.3587, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.3587, allocations: 75.28 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3587, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001924/0.3589, allocations: 16 kB / 1.068 GB, free: 10.68 MB / 0.8419 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.0002/0.3592, allocations: 127.1 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.3593, allocations: 71.91 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3593, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.456e-05/0.3594, allocations: 39.91 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.3595, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.3599, allocations: 186.5 kB / 1.068 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3602, allocations: 0.6884 MB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.3602, allocations: 11.44 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3602, allocations: 3.938 kB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of Templates: time 0.002705/0.3629, allocations: 0.9449 MB / 1.07 GB, free: 8.543 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches