Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001131/0.001131, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001278/0.001278, allocations: 173 kB / 23.49 MB, free: 1.062 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.97/0.97, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.07/2.07, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.543e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001232/0.001257, allocations: 0.6076 MB / 0.8788 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000227/0.001484, allocations: 48.58 kB / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.001513, allocations: 0 / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/0.00156, allocations: 3.984 kB / 0.8789 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.067e-06/0.001569, allocations: 0 / 0.8789 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.001968, allocations: 30.5 kB / 0.8789 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.847e-05/0.002067, allocations: 27.97 kB / 0.8789 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.002114, allocations: 0 / 0.8789 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.002156, allocations: 15.98 kB / 0.879 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.87e-05/0.002184, allocations: 13.06 kB / 0.879 GB, free: 5.859 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.002202, allocations: 5 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.002289, allocations: 15.98 kB / 0.879 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.002319, allocations: 18.84 kB / 0.879 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.002347, allocations: 4.984 kB / 0.879 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.002457, allocations: 39.88 kB / 0.879 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002459, allocations: 1.062 kB / 0.879 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.00246, allocations: 0 / 0.879 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.002465, allocations: 0 / 0.879 GB, free: 5.781 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002985/0.002763, allocations: 373.7 kB / 0.8794 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.002802, allocations: 8.031 kB / 0.8794 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.002844, allocations: 4.938 kB / 0.8794 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.987e-05/0.002914, allocations: 117.5 kB / 0.8795 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.002926, allocations: 4.375 kB / 0.8795 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.002939, allocations: 8.359 kB / 0.8795 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.003054, allocations: 54.73 kB / 0.8796 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.003061, allocations: 2.062 kB / 0.8796 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.00307, allocations: 384 / 0.8796 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.00308, allocations: 8.359 kB / 0.8796 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.943e-05/0.003169, allocations: 91.75 kB / 0.8797 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.003299, allocations: 128.5 kB / 0.8798 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.003376, allocations: 60.38 kB / 0.8799 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.003409, allocations: 23.69 kB / 0.8799 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.003584, allocations: 19.98 kB / 0.8799 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.003608, allocations: 37.38 kB / 0.8799 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 9.71e-07/0.003609, allocations: 1.094 kB / 0.8799 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0001936/0.003803, allocations: 98.2 kB / 0.88 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.003835, allocations: 56.06 kB / 0.8801 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.003887, allocations: 150.2 kB / 0.8802 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.003899, allocations: 27.3 kB / 0.8803 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.003934, allocations: 130.8 kB / 0.8804 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.003964, allocations: 19.84 kB / 0.8804 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.004005, allocations: 39.36 kB / 0.8804 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.004134, allocations: 0.4947 MB / 0.8809 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.004158, allocations: 8 kB / 0.8809 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.00418, allocations: 20.03 kB / 0.881 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.00425, allocations: 39.67 kB / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.004252, allocations: 0 / 0.881 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001083/0.004361, allocations: 85.52 kB / 0.8811 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.004379, allocations: 10.34 kB / 0.8811 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.004385, allocations: 2.062 kB / 0.8811 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.0044, allocations: 0 / 0.8811 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.004487, allocations: 19.98 kB / 0.8811 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.004493, allocations: 0 / 0.8811 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.004509, allocations: 3.938 kB / 0.8811 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.004515, allocations: 4.719 kB / 0.8811 GB, free: 3.477 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.174e-05/0.004607, allocations: 170.2 kB / 0.8813 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.004618, allocations: 15.95 kB / 0.8813 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.004757, allocations: 105.5 kB / 0.8814 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.00476, allocations: 8 kB / 0.8814 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.004765, allocations: 5.172 kB / 0.8814 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.004771, allocations: 3.938 kB / 0.8814 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.939e-05/0.00484, allocations: 124.6 kB / 0.8815 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.004842, allocations: 4 kB / 0.8815 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.004882, allocations: 19.98 kB / 0.8815 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.004883, allocations: 0 / 0.8815 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.004891, allocations: 4 kB / 0.8816 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.004892, allocations: 7.938 kB / 0.8816 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004893, allocations: 0 / 0.8816 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.004999, allocations: 120.3 kB / 0.8817 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.005007, allocations: 7.953 kB / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.005017, allocations: 0 / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-06/0.005026, allocations: 4 kB / 0.8817 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.005064, allocations: 15.91 kB / 0.8817 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.005069, allocations: 8 kB / 0.8817 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.005102, allocations: 119.9 kB / 0.8818 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.005102, allocations: 0 / 0.8818 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001427/0.005245, allocations: 19.94 kB / 0.8818 GB, free: 2.66 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001793/0.005424, allocations: 117.8 kB / 0.882 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.005546, allocations: 52.16 kB / 0.882 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.005548, allocations: 0 / 0.882 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.005583, allocations: 43.59 kB / 0.882 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.005686, allocations: 8 kB / 0.8821 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.005935, allocations: 150.1 kB / 0.8822 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.005966, allocations: 55.36 kB / 0.8823 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.001e-05/0.006017, allocations: 31.94 kB / 0.8823 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.006039, allocations: 16.5 kB / 0.8823 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.00604, allocations: 0 / 0.8823 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of Templates: time 0.002348/0.008388, allocations: 0.6021 MB / 0.8829 GB, free: 1.531 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_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.356522492831573]