Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002486/0.002486, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00297/0.00297, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.034/3.034, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0.5469 kB / 0.8109 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.611e-05, allocations: 7.031 kB / 0.8109 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001658/0.001684, allocations: 0.5868 MB / 0.8114 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002574/0.001941, allocations: 61.28 kB / 0.8115 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.00196, allocations: 0 / 0.8115 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.001999, allocations: 0 / 0.8115 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-06/0.002004, allocations: 0 / 0.8115 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.002271, allocations: 19.91 kB / 0.8115 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.184e-05/0.002353, allocations: 32.5 kB / 0.8116 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.738e-05/0.00238, allocations: 0.7188 kB / 0.8116 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.002433, allocations: 15.97 kB / 0.8116 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.00247, allocations: 20.5 kB / 0.8116 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.002484, allocations: 0 / 0.8116 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.002572, allocations: 17.33 kB / 0.8116 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.002608, allocations: 15.97 kB / 0.8116 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.002633, allocations: 7.938 kB / 0.8116 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.002736, allocations: 36.42 kB / 0.8117 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002738, allocations: 0 / 0.8117 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002739, allocations: 1.375 kB / 0.8117 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.002745, allocations: 7.938 kB / 0.8117 GB, free: 1.266 MB / 0.7605 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.0003991/0.003144, allocations: 360.3 kB / 0.812 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.00318, allocations: 9.188 kB / 0.812 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.00323, allocations: 12.89 kB / 0.812 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.813e-05/0.003329, allocations: 108.6 kB / 0.8121 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.003341, allocations: 1.688 kB / 0.8121 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.003367, allocations: 12.36 kB / 0.8122 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.003503, allocations: 58.17 kB / 0.8122 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.003511, allocations: 192 / 0.8122 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.003521, allocations: 5.656 kB / 0.8122 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.003525, allocations: 384 / 0.8122 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.003694, allocations: 99.73 kB / 0.8123 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.003879, allocations: 129.2 kB / 0.8124 GB, free: 396 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.004003, allocations: 70.83 kB / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.004049, allocations: 20.94 kB / 0.8125 GB, free: 288 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.004207, allocations: 19.98 kB / 0.8125 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.004246, allocations: 41.38 kB / 0.8126 GB, free: 216 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.004247, allocations: 1.281 kB / 0.8126 GB, free: 216 kB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.0002665/0.004513, allocations: 109.8 kB / 0.8127 GB, free: 100 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.004554, allocations: 51.41 kB / 0.8127 GB, free: 36 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.004667, allocations: 152 kB / 0.8129 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.004686, allocations: 25.7 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.004754, allocations: 130.8 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.004795, allocations: 23.8 kB / 0.813 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.00486, allocations: 43.36 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002594/0.005119, allocations: 498.7 kB / 0.8136 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.673e-05/0.005156, allocations: 16 kB / 0.8136 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.005187, allocations: 12.42 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.005297, allocations: 59.7 kB / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005299, allocations: 0 / 0.8136 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001415/0.00544, allocations: 73.69 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.005457, allocations: 8 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.00546, allocations: 0.5 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.005472, allocations: 0.5312 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.005574, allocations: 19.98 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.005578, allocations: 1.938 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.005601, allocations: 7.891 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.005613, allocations: 8 kB / 0.8138 GB, free: 14.93 MB / 0.7761 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.0001339/0.005747, allocations: 170.4 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.005763, allocations: 7.938 kB / 0.8139 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.005991, allocations: 113.6 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005992, allocations: 0 / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.005995, allocations: 0 / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.006004, allocations: 8.641 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.006135, allocations: 124.6 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006136, allocations: 0.9062 kB / 0.8142 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.106e-05/0.006227, allocations: 27.92 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006229, allocations: 0.7812 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.006239, allocations: 4 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00624, allocations: 1.281 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006241, allocations: 0 / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.006432, allocations: 132.2 kB / 0.8143 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-06/0.006442, allocations: 4 kB / 0.8143 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.006454, allocations: 0.8438 kB / 0.8143 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.006472, allocations: 4 kB / 0.8143 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.006511, allocations: 14.98 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.006521, allocations: 7.984 kB / 0.8144 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.006588, allocations: 119.2 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006588, allocations: 0 / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001957/0.006784, allocations: 16 kB / 0.8145 GB, free: 14.12 MB / 0.7761 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.0001722/0.006956, allocations: 115.1 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.0071, allocations: 58.06 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.007101, allocations: 0 / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.007185, allocations: 44.14 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.007311, allocations: 10.06 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.007604, allocations: 146.4 kB / 0.8148 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.903e-05/0.007673, allocations: 64.28 kB / 0.8149 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.641e-05/0.007749, allocations: 37.05 kB / 0.8149 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/0.007786, allocations: 20.5 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.007786, allocations: 1.125 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.0035/0.01129, allocations: 0.5867 MB / 0.8155 GB, free: 13.01 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.957063629059121]