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.001107/0.001107, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001178/0.001178, allocations: 169 kB / 23.02 MB, free: 1.551 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.9674/0.9674, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.139/2.139, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.724e-06/1.724e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.354e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001164/0.001187, allocations: 0.6203 MB / 0.8788 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002201/0.001407, allocations: 51.8 kB / 0.8789 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.001426, allocations: 0.5312 kB / 0.8789 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.001466, allocations: 0 / 0.8789 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.001472, allocations: 1.828 kB / 0.8789 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.001763, allocations: 27.84 kB / 0.8789 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.001837, allocations: 27.97 kB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.001871, allocations: 9.078 kB / 0.8789 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.965e-05/0.001901, allocations: 8.875 kB / 0.8789 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.336e-05/0.001924, allocations: 20.75 kB / 0.879 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.001938, allocations: 0 / 0.879 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-05/0.002021, allocations: 15.97 kB / 0.879 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.002049, allocations: 19.36 kB / 0.879 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.002073, allocations: 5.094 kB / 0.879 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.782e-05/0.002171, allocations: 35.88 kB / 0.879 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002173, allocations: 0 / 0.879 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002174, allocations: 1.125 kB / 0.879 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.002178, allocations: 4 kB / 0.879 GB, free: 5.465 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.0002556/0.002433, allocations: 364.6 kB / 0.8794 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.002467, allocations: 9.125 kB / 0.8794 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.002502, allocations: 4.938 kB / 0.8794 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.628e-05/0.002558, allocations: 120.5 kB / 0.8795 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.00257, allocations: 5.016 kB / 0.8795 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.002582, allocations: 4.875 kB / 0.8795 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.002695, allocations: 54.23 kB / 0.8796 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.002706, allocations: 5.031 kB / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.002715, allocations: 384 / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.002722, allocations: 1.625 kB / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.561e-05/0.002808, allocations: 91.75 kB / 0.8797 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001208/0.002929, allocations: 128.6 kB / 0.8798 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.003006, allocations: 64 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.003038, allocations: 27.67 kB / 0.8799 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.003195, allocations: 23.97 kB / 0.8799 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.003215, allocations: 34.52 kB / 0.8799 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.003217, allocations: 0 / 0.8799 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0001782/0.003395, allocations: 97.88 kB / 0.88 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.003416, allocations: 57 kB / 0.8801 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.31e-05/0.003459, allocations: 150.2 kB / 0.8802 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.003471, allocations: 29.69 kB / 0.8803 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/0.003497, allocations: 134.8 kB / 0.8804 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.003522, allocations: 22.91 kB / 0.8804 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.003558, allocations: 39.36 kB / 0.8804 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.003673, allocations: 496.1 kB / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.003697, allocations: 11.98 kB / 0.8809 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.003717, allocations: 12 kB / 0.8809 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.003778, allocations: 40.33 kB / 0.881 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.00378, allocations: 0 / 0.881 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.468e-05/0.003875, allocations: 97.44 kB / 0.8811 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.003886, allocations: 5.469 kB / 0.8811 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.003891, allocations: 0 / 0.8811 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.003905, allocations: 0 / 0.8811 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.003981, allocations: 19.98 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.003986, allocations: 0.5938 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.004001, allocations: 11.94 kB / 0.8811 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.004006, allocations: 1.656 kB / 0.8811 GB, free: 3.156 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 7.107e-05/0.004077, allocations: 168.2 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.004087, allocations: 11.95 kB / 0.8813 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.004227, allocations: 118.4 kB / 0.8814 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.004229, allocations: 0 / 0.8814 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.004232, allocations: 0.5625 kB / 0.8814 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.004237, allocations: 7.938 kB / 0.8814 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.909e-05/0.004306, allocations: 124.6 kB / 0.8815 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004307, allocations: 0 / 0.8815 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.004347, allocations: 19.98 kB / 0.8815 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.004349, allocations: 0 / 0.8815 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.004357, allocations: 8 kB / 0.8816 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004358, allocations: 0 / 0.8816 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.00436, allocations: 3.984 kB / 0.8816 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.00446, allocations: 124.2 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.004466, allocations: 7.938 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.004476, allocations: 4 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-06/0.004484, allocations: 8 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.004517, allocations: 11.92 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.00452, allocations: 0 / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.734e-05/0.004547, allocations: 123.9 kB / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.004547, allocations: 0 / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001365/0.004684, allocations: 15.94 kB / 0.8818 GB, free: 2.348 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.0001202/0.004804, allocations: 111.2 kB / 0.8819 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001022/0.004906, allocations: 59.59 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.004907, allocations: 4 kB / 0.882 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.004941, allocations: 43.55 kB / 0.882 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.587e-05/0.005037, allocations: 0 / 0.882 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.005269, allocations: 146.2 kB / 0.8822 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.152e-05/0.005301, allocations: 61.17 kB / 0.8822 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.005346, allocations: 31.95 kB / 0.8823 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.00537, allocations: 16.48 kB / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.005371, allocations: 4 kB / 0.8823 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of Templates: time 0.002203/0.007574, allocations: 0.5922 MB / 0.8829 GB, free: 1.223 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.498802799731493]