Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002138/0.002138, allocations: 111 kB / 16.45 MB, free: 6.488 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.002426/0.002426, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.228/3.228, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_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.002133/0.002133, allocations: 71.91 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002752/0.3516, allocations: 1.569 MB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004168/0.3521, allocations: 131.6 kB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.3521, allocations: 0 / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.3521, allocations: 3.938 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.518e-05/0.3522, allocations: 3.938 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.3525, allocations: 27.97 kB / 1.323 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.3526, allocations: 39.91 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3527, allocations: 11.98 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.217e-05/0.3528, allocations: 11.94 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.3528, allocations: 31.91 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3528, allocations: 4 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.3529, allocations: 15.98 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.3529, allocations: 19.86 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.353, allocations: 11.92 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.3531, allocations: 43.81 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3531, allocations: 0 / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3531, allocations: 4 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3531, allocations: 0 / 1.323 GB, free: 0.918 MB / 1.014 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.0005796/0.3537, allocations: 355.4 kB / 1.323 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3538, allocations: 11.98 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.3538, allocations: 8.891 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3539, allocations: 168.3 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.354, allocations: 4.375 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.354, allocations: 4.375 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.3542, allocations: 62.22 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3542, allocations: 4.125 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3542, allocations: 7.938 kB / 1.324 GB, free: 216 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3542, allocations: 4 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.3544, allocations: 39.95 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.3549, allocations: 280.9 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.3553, allocations: 54.53 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3554, allocations: 28.84 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.3558, allocations: 405.5 kB / 1.324 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.3558, allocations: 30.56 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3558, allocations: 0 / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004202/0.3562, allocations: 93.62 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.3563, allocations: 55.41 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3564, allocations: 121.7 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3564, allocations: 25.7 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.3564, allocations: 88.14 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.3565, allocations: 7.938 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.3565, allocations: 13.72 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3566, allocations: 322.8 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3568, allocations: 23.98 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.3568, allocations: 24.16 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.357, allocations: 44.91 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.357, allocations: 0 / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002347/0.3573, allocations: 77.64 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3573, allocations: 4 kB / 1.325 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-06/0.3573, allocations: 4 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3573, allocations: 4 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.577e-05/0.3574, allocations: 11.92 kB / 1.325 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3574, allocations: 4 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.3574, allocations: 11.89 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3575, allocations: 7.922 kB / 1.325 GB, free: 14.23 MB / 1.029 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 8.775e-05/0.3575, allocations: 116.6 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.3576, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.3578, allocations: 85.55 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3579, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3579, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3579, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.3581, allocations: 169.6 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3581, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.387e-05/0.3581, allocations: 15.92 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3581, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3581, allocations: 4 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3581, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3581, allocations: 0 / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.3584, allocations: 175.4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3585, allocations: 85.11 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3585, allocations: 0 / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.3586, allocations: 11.98 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.3586, allocations: 4 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3586, allocations: 3.984 kB / 1.326 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.981e-05/0.3587, allocations: 83.28 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3587, allocations: 0 / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002314/0.3589, allocations: 12 kB / 1.326 GB, free: 13.38 MB / 1.029 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.0001743/0.3591, allocations: 111.2 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.3594, allocations: 43.95 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3594, allocations: 3.938 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3595, allocations: 23.98 kB / 1.326 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.3598, allocations: 12.25 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.3602, allocations: 121.4 kB / 1.326 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3606, allocations: 0.6845 MB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.3607, allocations: 8.547 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.3607, allocations: 19.38 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3607, allocations: 0 / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of Templates: time 0.003944/0.3647, allocations: 0.7596 MB / 1.328 GB, free: 11.54 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.767580084968358]