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.001407/0.001407, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001701/0.001701, allocations: 161 kB / 24.16 MB, free: 328 kB / 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.026/1.026, allocations: 177.2 MB / 204.6 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.045/2.045, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.7601 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.132e-05, allocations: 6.906 kB / 0.7601 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002229/0.00225, allocations: 1.644 MB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003358/0.002586, allocations: 144.7 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.002623, allocations: 2.188 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.002655, allocations: 7.922 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.002704, allocations: 5.25 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.002971, allocations: 31.89 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.835e-05/0.003039, allocations: 33.23 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.76e-05/0.003117, allocations: 8.766 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.003162, allocations: 26.42 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.0032, allocations: 13.73 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003215, allocations: 4 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.003318, allocations: 23.97 kB / 0.762 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.003331, allocations: 10.38 kB / 0.762 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.003349, allocations: 13.52 kB / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.003461, allocations: 46.5 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003463, allocations: 1.25 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003464, allocations: 0 / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003468, allocations: 0 / 0.762 GB, free: 4.637 MB / 0.7136 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.0002887/0.003757, allocations: 246.8 kB / 0.7623 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.003787, allocations: 12.03 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.003813, allocations: 5.531 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.484e-05/0.003888, allocations: 103.4 kB / 0.7624 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.003907, allocations: 8.375 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.003914, allocations: 4.375 kB / 0.7624 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.004021, allocations: 67.53 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004029, allocations: 5.172 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.004037, allocations: 4.375 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.004042, allocations: 384 / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.004067, allocations: 15.03 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.004296, allocations: 168.2 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.004424, allocations: 35.05 kB / 0.7627 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.522e-05/0.004439, allocations: 8.859 kB / 0.7627 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.226e-05/0.004512, allocations: 15.98 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.004531, allocations: 34.56 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.004533, allocations: 0 / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001046/0.004637, allocations: 49.12 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.004663, allocations: 59.34 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.128e-05/0.004714, allocations: 106.8 kB / 0.7629 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.004724, allocations: 29.7 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.004755, allocations: 88.97 kB / 0.763 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.004769, allocations: 7.938 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.004795, allocations: 17.7 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.005019, allocations: 316.2 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.00503, allocations: 0 / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.005041, allocations: 8.641 kB / 0.7634 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.00507, allocations: 17.59 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.005071, allocations: 0 / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.073e-05/0.005122, allocations: 46.38 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.005136, allocations: 9.719 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.005141, allocations: 4.688 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.005153, allocations: 1.312 kB / 0.7634 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.005212, allocations: 12.64 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.005215, allocations: 0.5 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.005234, allocations: 3.062 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.005239, allocations: 3.984 kB / 0.7635 GB, free: 3.016 MB / 0.7136 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 5.2e-05/0.005291, allocations: 109.8 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.005306, allocations: 0 / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.00538, allocations: 53.31 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.005382, allocations: 3.984 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.005383, allocations: 0 / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005385, allocations: 0 / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.203e-05/0.005467, allocations: 73.03 kB / 0.7637 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005468, allocations: 4.375 kB / 0.7637 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.005497, allocations: 7.984 kB / 0.7637 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.005499, allocations: 4 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/0.005503, allocations: 256 / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.005504, allocations: 3.938 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.005507, allocations: 7.938 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.476e-05/0.005582, allocations: 143.5 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.005587, allocations: 1.812 kB / 0.7639 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.005596, allocations: 4 kB / 0.7639 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.005628, allocations: 0 / 0.7639 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.005663, allocations: 11.92 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.005666, allocations: 1.984 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.216e-05/0.005678, allocations: 12.86 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005678, allocations: 0 / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001341/0.005812, allocations: 11.94 kB / 0.7639 GB, free: 2.527 MB / 0.7136 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.0001074/0.00592, allocations: 89.62 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.138e-05/0.005981, allocations: 20.83 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.005984, allocations: 0.5938 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.911e-05/0.006003, allocations: 12.86 kB / 0.764 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.006133, allocations: 12.78 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.006366, allocations: 133.3 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.339e-05/0.006399, allocations: 51.36 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.258e-05/0.006422, allocations: 10.05 kB / 0.7642 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.006466, allocations: 55.36 kB / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.006467, allocations: 0 / 0.7643 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.002354/0.008821, allocations: 0.7853 MB / 0.765 GB, free: 1.332 MB / 0.7136 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.1328742248006165]