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.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.001373/0.001373, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.00148/0.00148, allocations: 191.5 kB / 22.11 MB, free: 5.152 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.474/1.474, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.345/3.345, allocations: 495.8 MB / 0.783 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 75.5 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3635, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002871/0.3663, allocations: 1.55 MB / 1.308 GB, free: 300 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003697/0.3667, allocations: 139.6 kB / 1.308 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.3667, allocations: 0 / 1.308 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.3668, allocations: 7.922 kB / 1.308 GB, free: 152 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.3668, allocations: 7.938 kB / 1.308 GB, free: 144 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.3671, allocations: 35.89 kB / 1.308 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.3672, allocations: 35.86 kB / 1.308 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.3673, allocations: 8 kB / 1.308 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.171e-05/0.3673, allocations: 19.92 kB / 1.308 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.75e-05/0.3673, allocations: 19.91 kB / 1.309 GB, free: 24 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3674, allocations: 4 kB / 1.309 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.3674, allocations: 19.98 kB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.3675, allocations: 12.03 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.3675, allocations: 15.94 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.3676, allocations: 51.73 kB / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3676, allocations: 0 / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3676, allocations: 0 / 1.309 GB, free: 15.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.3676, allocations: 0 / 1.309 GB, free: 15.92 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.0004683/0.3681, allocations: 278.2 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.3681, allocations: 8.031 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.3682, allocations: 4.938 kB / 1.309 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.3683, allocations: 122.4 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3683, allocations: 384 / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.3683, allocations: 4.375 kB / 1.309 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.3685, allocations: 66.17 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3685, allocations: 4.125 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3685, allocations: 3.938 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3685, allocations: 0 / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.3688, allocations: 47.95 kB / 1.309 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.3691, allocations: 255.8 kB / 1.309 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.3695, allocations: 50.48 kB / 1.309 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3696, allocations: 28.89 kB / 1.309 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.3697, allocations: 27.98 kB / 1.309 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3698, allocations: 30.56 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3698, allocations: 0 / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0004155/0.3702, allocations: 97.58 kB / 1.31 GB, free: 14.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.3702, allocations: 55.34 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3703, allocations: 113.8 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3703, allocations: 29.7 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.3704, allocations: 88.08 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.3704, allocations: 7.953 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.3704, allocations: 13.72 kB / 1.31 GB, free: 14.44 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3706, allocations: 322.8 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.3707, allocations: 15.98 kB / 1.31 GB, free: 14.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.249e-05/0.3708, allocations: 23.97 kB / 1.31 GB, free: 14.08 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.371, allocations: 48.83 kB / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.371, allocations: 0 / 1.31 GB, free: 14.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002592/0.3712, allocations: 81.53 kB / 1.31 GB, free: 13.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3713, allocations: 4 kB / 1.31 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3713, allocations: 0 / 1.31 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3713, allocations: 4 kB / 1.31 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.702e-05/0.3714, allocations: 11.98 kB / 1.31 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3714, allocations: 4 kB / 1.31 GB, free: 13.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.3714, allocations: 11.94 kB / 1.31 GB, free: 13.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3714, allocations: 3.984 kB / 1.31 GB, free: 13.9 MB / 1.014 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.554e-05/0.3715, allocations: 117.7 kB / 1.311 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3716, allocations: 4 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.3719, allocations: 81.64 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3719, allocations: 4.375 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3719, allocations: 3.938 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3719, allocations: 4 kB / 1.311 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.3721, allocations: 140.6 kB / 1.311 GB, free: 13.49 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3721, allocations: 3.984 kB / 1.311 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.3721, allocations: 11.98 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3721, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3722, allocations: 4 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3722, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3722, allocations: 0 / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.3724, allocations: 175.4 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.3725, allocations: 4 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.3725, allocations: 0 / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.3726, allocations: 11.92 kB / 1.311 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.3726, allocations: 7.984 kB / 1.311 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3726, allocations: 4 kB / 1.311 GB, free: 13.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.3727, allocations: 87.28 kB / 1.311 GB, free: 13.17 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3727, allocations: 7.875 kB / 1.311 GB, free: 13.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002329/0.3729, allocations: 8 kB / 1.311 GB, free: 13.15 MB / 1.014 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.0001576/0.3731, allocations: 104 kB / 1.311 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002872/0.3734, allocations: 43.95 kB / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3734, allocations: 0 / 1.311 GB, free: 13 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3735, allocations: 27.98 kB / 1.311 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.3738, allocations: 8.547 kB / 1.311 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.3741, allocations: 137.3 kB / 1.311 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3744, allocations: 0.6807 MB / 1.312 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.3745, allocations: 0 / 1.312 GB, free: 12.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.3745, allocations: 15.44 kB / 1.312 GB, free: 12.08 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.3745, allocations: 0 / 1.312 GB, free: 12.08 MB / 1.014 GB Notification: Performance of Templates: time 0.003465/0.378, allocations: 0.7785 MB / 1.313 GB, free: 11.31 MB / 1.014 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: 9.157996728084981]