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.001117/0.001117, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001044/0.001044, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.313/2.313, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.613e-06/1.613e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.793e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001916/0.001934, allocations: 1.597 MB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002742/0.002208, allocations: 139.4 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.304e-05/0.002242, allocations: 4 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.002266, allocations: 7.875 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.78e-05/0.002314, allocations: 7.922 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.002568, allocations: 43.83 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.928e-05/0.002627, allocations: 27.92 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.002692, allocations: 8 kB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.907e-05/0.002732, allocations: 31.89 kB / 0.8404 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.053e-05/0.002762, allocations: 7.984 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.002774, allocations: 4 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.888e-05/0.002843, allocations: 19.98 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.002858, allocations: 19.92 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.002871, allocations: 7.984 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.327e-05/0.002964, allocations: 47.81 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002966, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.91e-07/0.002966, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.002969, allocations: 0 / 0.8405 GB, free: 12.19 MB / 0.8073 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.0002775/0.003247, allocations: 248.9 kB / 0.8407 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.003279, allocations: 12.62 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.003306, allocations: 4.938 kB / 0.8408 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.003379, allocations: 109.7 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.003394, allocations: 8.375 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.003404, allocations: 4.375 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.461e-05/0.003499, allocations: 58.94 kB / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.003505, allocations: 192 / 0.8409 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.003513, allocations: 8.375 kB / 0.8409 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.00352, allocations: 4.359 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.003545, allocations: 15.92 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.003745, allocations: 168.2 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.00387, allocations: 30.56 kB / 0.8411 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.003892, allocations: 12.86 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.746e-05/0.003959, allocations: 11.98 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.003979, allocations: 38.56 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.00398, allocations: 0 / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 9.951e-05/0.00408, allocations: 49.56 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.004107, allocations: 51.41 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.004157, allocations: 110.8 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.004168, allocations: 25.7 kB / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.00421, allocations: 92.06 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.004223, allocations: 7.953 kB / 0.8415 GB, free: 11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.004248, allocations: 21.7 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.004314, allocations: 318.8 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.004322, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.004331, allocations: 4 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.004357, allocations: 21.11 kB / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004359, allocations: 0 / 0.8419 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.018e-05/0.004399, allocations: 41.62 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.004407, allocations: 8 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.004411, allocations: 3.938 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.004422, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.004462, allocations: 11.98 kB / 0.8419 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.004464, allocations: 4 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.00448, allocations: 0 / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.004484, allocations: 0 / 0.8419 GB, free: 10.55 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.845e-05/0.004532, allocations: 117.8 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.004544, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.004607, allocations: 61.2 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.004607, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.004609, allocations: 0 / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.004613, allocations: 3.984 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.345e-05/0.004686, allocations: 77.83 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.004687, allocations: 0 / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.004707, allocations: 7.984 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004709, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.004712, allocations: 4 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.004713, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.004714, allocations: 3.938 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.046e-05/0.004774, allocations: 131.5 kB / 0.8423 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.004778, allocations: 0 / 0.8423 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.004786, allocations: 7.922 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.004816, allocations: 4 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.004849, allocations: 20.17 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.004851, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.208e-06/0.004861, allocations: 12.86 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004861, allocations: 3.938 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001211/0.004982, allocations: 12 kB / 0.8424 GB, free: 10.04 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 9.441e-05/0.005076, allocations: 84.41 kB / 0.8425 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.487e-05/0.005131, allocations: 12.86 kB / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.005133, allocations: 0 / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.005151, allocations: 21.02 kB / 0.8425 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.005259, allocations: 7.906 kB / 0.8425 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001839/0.005442, allocations: 120.7 kB / 0.8426 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.79e-05/0.00547, allocations: 59.34 kB / 0.8427 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.83e-05/0.005489, allocations: 4 kB / 0.8427 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.005529, allocations: 55.38 kB / 0.8427 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of SimCode: time 4.5e-07/0.00553, allocations: 0 / 0.8427 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of Templates: time 0.002082/0.007612, allocations: 0.7944 MB / 0.8435 GB, free: 8.836 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.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.1503646350465715]