Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001572/0.001572, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.00168/0.00168, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.432/1.432, allocations: 225.6 MB / 249.4 MB, free: 3.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 443.4 MB / 0.7304 GB, free: 14.04 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.89 kB / 1.059 GB, free: 424 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3801, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003626/0.3837, allocations: 1.548 MB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004573/0.3842, allocations: 148.4 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.3842, allocations: 0 / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.3842, allocations: 3.938 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.008e-05/0.3843, allocations: 7.938 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.3846, allocations: 27.97 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.541e-05/0.3847, allocations: 35.86 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3849, allocations: 15.97 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.3849, allocations: 15.94 kB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.3849, allocations: 15.92 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.385, allocations: 4 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.3851, allocations: 19.98 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.3851, allocations: 11.98 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.3851, allocations: 19.92 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.3853, allocations: 55.69 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3853, allocations: 0 / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3853, allocations: 0 / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3853, allocations: 0 / 1.218 GB, free: 13.44 MB / 0.9669 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.0005721/0.3859, allocations: 347.3 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3859, allocations: 12.03 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.386, allocations: 4.938 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3861, allocations: 176.3 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3861, allocations: 4.375 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3862, allocations: 4.375 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.3864, allocations: 58.23 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3864, allocations: 192 / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3864, allocations: 3.938 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3864, allocations: 0 / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.3866, allocations: 51.89 kB / 1.219 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.3871, allocations: 280.8 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.3874, allocations: 58.53 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3875, allocations: 25.92 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003401/0.3878, allocations: 401.4 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3879, allocations: 42.55 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3879, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004038/0.3883, allocations: 97.58 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3883, allocations: 51.41 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.3884, allocations: 105.8 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.3884, allocations: 33.7 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.3885, allocations: 84.12 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.3885, allocations: 11.89 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3886, allocations: 17.72 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3887, allocations: 318.8 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.3888, allocations: 27.91 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.3889, allocations: 19.98 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.389, allocations: 48.81 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.389, allocations: 4 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002162/0.3893, allocations: 73.61 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3893, allocations: 8 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3893, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3893, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.3894, allocations: 11.98 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3894, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.3895, allocations: 15.92 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3895, allocations: 3.938 kB / 1.22 GB, free: 10.77 MB / 0.9669 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.208e-05/0.3896, allocations: 113.8 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3896, allocations: 0 / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.3898, allocations: 85.55 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3898, allocations: 3.984 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3898, allocations: 0 / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3898, allocations: 4 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.39, allocations: 173.7 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.39, allocations: 0 / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.3901, allocations: 11.98 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.3901, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.3901, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3901, allocations: 4 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3901, allocations: 4.25 kB / 1.221 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3904, allocations: 179.4 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.3904, allocations: 77.11 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3905, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.3905, allocations: 4.422 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.3906, allocations: 11.98 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3906, allocations: 0 / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.3907, allocations: 99.19 kB / 1.221 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3907, allocations: 0 / 1.221 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002267/0.3909, allocations: 15.94 kB / 1.221 GB, free: 9.895 MB / 0.9669 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.000167/0.391, allocations: 103.2 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002433/0.3913, allocations: 47.89 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3913, allocations: 0 / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3914, allocations: 27.97 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3917, allocations: 13.5 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.392, allocations: 129.4 kB / 1.221 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3924, allocations: 0.6806 MB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.376e-05/0.3924, allocations: 4 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.3924, allocations: 11.44 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of SimCode: time 7.02e-07/0.3924, allocations: 0 / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of Templates: time 0.003762/0.3962, allocations: 0.7759 MB / 1.223 GB, free: 8.051 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.020911152474582]