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.001027/0.001027, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001179/0.001179, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9666/0.9666, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.16/2.16, allocations: 429.5 MB / 0.6736 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.974e-06/1.974e-06, allocations: 0 / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.236e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003025/0.003058, allocations: 1.602 MB / 0.8797 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004059/0.003464, allocations: 128.6 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.003517, allocations: 4.688 kB / 0.8799 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.003551, allocations: 3.938 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.003606, allocations: 10.08 kB / 0.8799 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.003982, allocations: 32.66 kB / 0.8799 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.004081, allocations: 38.11 kB / 0.88 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.004199, allocations: 16.69 kB / 0.88 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.004249, allocations: 23.92 kB / 0.88 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.004294, allocations: 8.828 kB / 0.88 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.004314, allocations: 4 kB / 0.88 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.004423, allocations: 23.97 kB / 0.88 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.004438, allocations: 8.734 kB / 0.88 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.004467, allocations: 11.94 kB / 0.88 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.004624, allocations: 44.62 kB / 0.8801 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.004627, allocations: 0 / 0.8801 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004628, allocations: 4.5 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.004633, allocations: 1.094 kB / 0.8801 GB, free: 4.676 MB / 0.8386 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.0004659/0.005099, allocations: 368.6 kB / 0.8804 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.005143, allocations: 8.031 kB / 0.8805 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.005197, allocations: 13.55 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.005321, allocations: 121.2 kB / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.005346, allocations: 384 / 0.8806 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.00536, allocations: 8.312 kB / 0.8806 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.005543, allocations: 66.92 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.005552, allocations: 192 / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.005565, allocations: 4.359 kB / 0.8807 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.005575, allocations: 384 / 0.8807 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.371e-05/0.005628, allocations: 19.92 kB / 0.8807 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.00604, allocations: 271.7 kB / 0.8809 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.006265, allocations: 47.05 kB / 0.881 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.006295, allocations: 11.75 kB / 0.881 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.006422, allocations: 17.42 kB / 0.881 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.006452, allocations: 41.33 kB / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.006454, allocations: 0 / 0.8811 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002088/0.006662, allocations: 50.59 kB / 0.8811 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.006697, allocations: 55.41 kB / 0.8812 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.006797, allocations: 165.9 kB / 0.8813 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.006812, allocations: 26.8 kB / 0.8813 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.006879, allocations: 134.9 kB / 0.8815 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.006899, allocations: 7.953 kB / 0.8815 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.006941, allocations: 24.44 kB / 0.8815 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.007095, allocations: 496.1 kB / 0.882 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.007122, allocations: 7.984 kB / 0.882 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.007141, allocations: 5.344 kB / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.007189, allocations: 19.69 kB / 0.882 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.007193, allocations: 4.812 kB / 0.882 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001041/0.007297, allocations: 49.56 kB / 0.8821 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.007313, allocations: 8.156 kB / 0.8821 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.007317, allocations: 0 / 0.8821 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.007333, allocations: 4 kB / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.007394, allocations: 11.98 kB / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.0074, allocations: 0 / 0.8821 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.007431, allocations: 8.453 kB / 0.8821 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007436, allocations: 1.688 kB / 0.8821 GB, free: 2.445 MB / 0.8386 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.394e-05/0.00752, allocations: 160.6 kB / 0.8822 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.007548, allocations: 3.938 kB / 0.8822 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.007679, allocations: 58.5 kB / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.007681, allocations: 0 / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.007684, allocations: 0 / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007688, allocations: 384 / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.007833, allocations: 121.4 kB / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007835, allocations: 0 / 0.8824 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.007884, allocations: 12.7 kB / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.007887, allocations: 0 / 0.8824 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.007897, allocations: 9.516 kB / 0.8824 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.007899, allocations: 0 / 0.8824 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0079, allocations: 0 / 0.8824 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.008048, allocations: 195.9 kB / 0.8826 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.008058, allocations: 14.75 kB / 0.8826 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.008072, allocations: 3.938 kB / 0.8826 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.03e-05/0.008132, allocations: 4 kB / 0.8826 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.008187, allocations: 11.98 kB / 0.8827 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.008192, allocations: 0 / 0.8827 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.008239, allocations: 123.2 kB / 0.8828 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.008239, allocations: 0 / 0.8828 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002583/0.008497, allocations: 8 kB / 0.8828 GB, free: 1.664 MB / 0.8386 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.0001567/0.008654, allocations: 108.8 kB / 0.8829 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.008762, allocations: 27.67 kB / 0.8829 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.008764, allocations: 0.625 kB / 0.8829 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.008805, allocations: 19.62 kB / 0.8829 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.00907, allocations: 13.22 kB / 0.8829 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.00939, allocations: 130.2 kB / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.009434, allocations: 55.36 kB / 0.8831 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.009461, allocations: 0 / 0.8831 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.009494, allocations: 16.48 kB / 0.8831 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of SimCode: time 1.032e-06/0.009495, allocations: 0 / 0.8831 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of Templates: time 0.003226/0.01272, allocations: 0.7962 MB / 0.8839 GB, free: 468 kB / 0.8386 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.3055072671268135]