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.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.001493/0.001493, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002595/0.004087, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001227/0.001227, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001397/0.002624, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9917/0.9917, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0999/1.092, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.455/2.455, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2408/2.696, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_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 1.593e-06/1.593e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.846e-06/1.044e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001681/0.001692, allocations: 1.647 MB / 0.8199 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001773/0.001869, allocations: 135.5 kB / 0.8201 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.001895, allocations: 4 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.001915, allocations: 0 / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.061e-05/0.001936, allocations: 3.938 kB / 0.8201 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.002096, allocations: 31.84 kB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.002155, allocations: 35.91 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.87e-05/0.002224, allocations: 19.92 kB / 0.8202 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.002273, allocations: 19.98 kB / 0.8202 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.00231, allocations: 15.97 kB / 0.8202 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.002325, allocations: 7.938 kB / 0.8202 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.002415, allocations: 23.97 kB / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.002424, allocations: 4 kB / 0.8202 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.002438, allocations: 8 kB / 0.8202 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.002545, allocations: 31.86 kB / 0.8203 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.002557, allocations: 0 / 0.8203 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002558, allocations: 4 kB / 0.8203 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.002572, allocations: 0 / 0.8203 GB, free: 0.8789 MB / 0.7917 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.0003486/0.002921, allocations: 256.5 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.00295, allocations: 12.62 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.002979, allocations: 8.922 kB / 0.8205 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.003063, allocations: 113.7 kB / 0.8206 GB, free: 456 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.003087, allocations: 4.375 kB / 0.8206 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.003097, allocations: 8.312 kB / 0.8206 GB, free: 444 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.003215, allocations: 66.91 kB / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.003222, allocations: 192 / 0.8207 GB, free: 368 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.003229, allocations: 8.375 kB / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.003234, allocations: 384 / 0.8207 GB, free: 360 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.003264, allocations: 19.92 kB / 0.8207 GB, free: 340 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.003513, allocations: 164.2 kB / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.003648, allocations: 38.55 kB / 0.8209 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.003664, allocations: 8.859 kB / 0.8209 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.99e-05/0.003744, allocations: 15.98 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.003765, allocations: 38.56 kB / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.003766, allocations: 0 / 0.821 GB, free: 36 kB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0001178/0.003884, allocations: 45.56 kB / 0.821 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.003911, allocations: 55.41 kB / 0.8211 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.136e-05/0.003963, allocations: 110.8 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.003973, allocations: 25.7 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.004001, allocations: 84.14 kB / 0.8213 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.004018, allocations: 11.95 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.004044, allocations: 21.69 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.563e-05/0.00411, allocations: 314.8 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.004118, allocations: 0 / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-06/0.004127, allocations: 4 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.004154, allocations: 20.78 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004155, allocations: 0 / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.881e-05/0.004194, allocations: 41.69 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.004205, allocations: 8 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.00421, allocations: 3.938 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.004217, allocations: 0 / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.618e-05/0.004263, allocations: 11.98 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.004266, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.004283, allocations: 7.891 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-06/0.004286, allocations: 4 kB / 0.8217 GB, free: 15.21 MB / 0.8073 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 4.472e-05/0.00433, allocations: 109.8 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.004344, allocations: 7.984 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.00441, allocations: 61.52 kB / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.004412, allocations: 0 / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.004413, allocations: 0 / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.004416, allocations: 48 / 0.8219 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.751e-05/0.004493, allocations: 77.86 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004494, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.004521, allocations: 12.23 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-06/0.004525, allocations: 0 / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.004528, allocations: 4 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.004532, allocations: 4 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.004534, allocations: 7.938 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004535, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.351e-05/0.004598, allocations: 139.5 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-06/0.004607, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.936e-05/0.004636, allocations: 0 / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.004672, allocations: 15.92 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.004674, allocations: 0 / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.407e-06/0.004683, allocations: 12.84 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.004683, allocations: 0 / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001196/0.004803, allocations: 8 kB / 0.8222 GB, free: 14.71 MB / 0.8073 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.0001003/0.004903, allocations: 92.41 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.25e-05/0.004966, allocations: 16.84 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.004969, allocations: 4 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.004989, allocations: 12.8 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.005117, allocations: 8 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.005481, allocations: 120.5 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.624e-05/0.005517, allocations: 59.22 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.005541, allocations: 11.97 kB / 0.8225 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.005586, allocations: 59.38 kB / 0.8225 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of SimCode: time 4.31e-07/0.005587, allocations: 3.938 kB / 0.8225 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of Templates: time 0.002557/0.008143, allocations: 0.8123 MB / 0.8233 GB, free: 13.46 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.217207248322666]