Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001665/0.001665, allocations: 111.7 kB / 17.08 MB, free: 6.012 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.001557/0.001557, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.379/1.379, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 489.3 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 71.88 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9631, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002495/0.9656, allocations: 1.532 MB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003532/0.966, allocations: 134.6 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.9661, allocations: 0.8125 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.708e-05/0.9661, allocations: 5.25 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.513e-05/0.9661, allocations: 5.562 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.9664, allocations: 31.94 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.9665, allocations: 40.41 kB / 1.264 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.327e-05/0.9666, allocations: 12.03 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.195e-05/0.9667, allocations: 18.75 kB / 1.264 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.9667, allocations: 21.78 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.9667, allocations: 3.031 kB / 1.264 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.632e-05/0.9668, allocations: 22.2 kB / 1.264 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.9669, allocations: 7.516 kB / 1.264 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.9669, allocations: 13.69 kB / 1.264 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.967, allocations: 59.72 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.967, allocations: 0 / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9671, allocations: 0.7188 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.9671, allocations: 0 / 1.264 GB, free: 6.742 MB / 0.9981 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.0004404/0.9675, allocations: 351.4 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.9676, allocations: 9.438 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.9676, allocations: 3.234 kB / 1.265 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.612e-05/0.9677, allocations: 167.4 kB / 1.265 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.9677, allocations: 14.09 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.9677, allocations: 2.875 kB / 1.265 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.9679, allocations: 62.27 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9679, allocations: 1.219 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.968, allocations: 7.922 kB / 1.265 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.968, allocations: 1.312 kB / 1.265 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.9682, allocations: 48.72 kB / 1.265 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.9685, allocations: 284.6 kB / 1.265 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.9689, allocations: 60.8 kB / 1.265 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.858e-05/0.969, allocations: 26.05 kB / 1.265 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.9692, allocations: 397.3 kB / 1.266 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.9692, allocations: 36.64 kB / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.9692, allocations: 0 / 1.266 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003992/0.9696, allocations: 93.61 kB / 1.266 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.9696, allocations: 52.12 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.774e-05/0.9697, allocations: 111.4 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.9697, allocations: 26.48 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.9698, allocations: 90.58 kB / 1.266 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.9698, allocations: 9.922 kB / 1.266 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.9698, allocations: 22.55 kB / 1.266 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.782e-05/0.9699, allocations: 318 kB / 1.267 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.97, allocations: 23.97 kB / 1.267 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.57e-05/0.9701, allocations: 20.19 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.9703, allocations: 50.27 kB / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9703, allocations: 0 / 1.267 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002152/0.9705, allocations: 74.36 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.9705, allocations: 5.516 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9705, allocations: 0.7188 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.9705, allocations: 3.938 kB / 1.267 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.9706, allocations: 15.84 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.9706, allocations: 0.75 kB / 1.267 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.006e-05/0.9707, allocations: 14.38 kB / 1.267 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.9707, allocations: 1.594 kB / 1.267 GB, free: 4.492 MB / 0.9981 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 5.131e-05/0.9708, allocations: 116 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.9708, allocations: 5.766 kB / 1.267 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.9711, allocations: 84.38 kB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.9711, allocations: 0.7188 kB / 1.267 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9711, allocations: 4.875 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.9711, allocations: 1.078 kB / 1.267 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.9712, allocations: 165.7 kB / 1.267 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9712, allocations: 0.7969 kB / 1.267 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.726e-05/0.9713, allocations: 14.5 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.9713, allocations: 0.8125 kB / 1.267 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.9713, allocations: 5.172 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.9714, allocations: 1.422 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9714, allocations: 1 kB / 1.267 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.9716, allocations: 176.9 kB / 1.267 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.9716, allocations: 83.81 kB / 1.267 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.9716, allocations: 4.516 kB / 1.267 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.383e-05/0.9717, allocations: 6.469 kB / 1.267 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.9718, allocations: 9.375 kB / 1.267 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.9718, allocations: 1.641 kB / 1.267 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.9718, allocations: 87.05 kB / 1.267 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9718, allocations: 5 kB / 1.267 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002254/0.9721, allocations: 12.58 kB / 1.267 GB, free: 3.77 MB / 0.9981 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.0001424/0.9722, allocations: 101.6 kB / 1.268 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.9725, allocations: 53.86 kB / 1.268 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9725, allocations: 0 / 1.268 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.9726, allocations: 24.75 kB / 1.268 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.9729, allocations: 15.94 kB / 1.268 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.9731, allocations: 150.2 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.9733, allocations: 0.6797 MB / 1.268 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.9733, allocations: 11.03 kB / 1.268 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.9733, allocations: 0 / 1.268 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of Templates: time 0.002675/0.976, allocations: 0.8049 MB / 1.269 GB, free: 2.734 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.902919347863644]