Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001489/0.001489, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001729/0.001729, allocations: 206.8 kB / 22.24 MB, free: 5.262 MB / 14.72 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.661/1.661, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.903/2.903, allocations: 475.9 MB / 0.7699 GB, free: 4.809 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 66.97 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3509, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002907/0.3538, allocations: 1.562 MB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000414/0.3542, allocations: 127.6 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.3543, allocations: 3.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.3543, allocations: 4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.3543, allocations: 3.938 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.3547, allocations: 39.89 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.875e-05/0.3548, allocations: 35.86 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.3549, allocations: 15.97 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.3549, allocations: 12 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.702e-05/0.355, allocations: 19.91 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.355, allocations: 7.984 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.3551, allocations: 19.98 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.3551, allocations: 7.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.3551, allocations: 19.92 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.3553, allocations: 43.81 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3553, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3553, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3553, allocations: 0 / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005165/0.3558, allocations: 278.3 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3559, allocations: 8.031 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.3559, allocations: 8.891 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.356, allocations: 114.4 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.3561, allocations: 384 / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3561, allocations: 16.31 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3563, allocations: 62.22 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3563, allocations: 192 / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3563, allocations: 3.938 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3563, allocations: 0 / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.3565, allocations: 43.95 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.3569, allocations: 224.4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.3572, allocations: 58.48 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3573, allocations: 28.89 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.3575, allocations: 15.98 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3575, allocations: 30.56 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.3575, allocations: 0 / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003946/0.3579, allocations: 97.56 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.3579, allocations: 51.41 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.6e-05/0.358, allocations: 105.9 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.358, allocations: 25.7 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.3581, allocations: 96.08 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.3581, allocations: 3.953 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.3581, allocations: 17.72 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3583, allocations: 318.8 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.559e-05/0.3584, allocations: 19.98 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.679e-05/0.3585, allocations: 23.97 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3586, allocations: 44.77 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.3586, allocations: 7.938 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002205/0.3589, allocations: 73.64 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3589, allocations: 8 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3589, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3589, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.359, allocations: 11.98 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.359, allocations: 7.938 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.359, allocations: 4 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.359, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.834e-05/0.3591, allocations: 125.7 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.3592, allocations: 4.281 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.3595, allocations: 93.25 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3595, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3595, allocations: 256 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3595, allocations: 4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.3596, allocations: 117.2 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3596, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.3597, allocations: 11.98 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3597, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3597, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3597, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3597, allocations: 4 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.36, allocations: 175.4 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-06/0.36, allocations: 8 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.36, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.3601, allocations: 8 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.3602, allocations: 7.984 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3602, allocations: 0 / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.3602, allocations: 87.27 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3602, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002387/0.3604, allocations: 11.95 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.00016/0.3606, allocations: 99.25 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.3608, allocations: 47.95 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3609, allocations: 0 / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.361, allocations: 31.91 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.3612, allocations: 7.938 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.3616, allocations: 127.2 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.665e-05/0.3616, allocations: 67.33 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.3617, allocations: 8 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.3617, allocations: 7.438 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3617, allocations: 3.938 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of Templates: time 0.003614/0.3653, allocations: 0.7799 MB / 1.288 GB, free: 6.207 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 9.15295615978539]