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.0008916/0.0008916, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009513/0.0009513, allocations: 169 kB / 24.06 MB, free: 456 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 0.9701/0.9701, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.185/2.185, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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 3.516e-06/3.516e-06, allocations: 4 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.975e-05, allocations: 6.25 kB / 0.8795 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001433/0.001462, allocations: 0.608 MB / 0.88 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000211/0.001673, allocations: 56.77 kB / 0.8801 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.001694, allocations: 0.5 kB / 0.8801 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.001734, allocations: 1.344 kB / 0.8801 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.001739, allocations: 0 / 0.8801 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.001998, allocations: 23.86 kB / 0.8801 GB, free: 5.324 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.005084, allocations: 28.84 kB / 0.8802 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.005124, allocations: 5.328 kB / 0.8802 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.472e-05/0.005158, allocations: 12 kB / 0.8802 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.005191, allocations: 16.62 kB / 0.8802 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.005204, allocations: 0 / 0.8802 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-05/0.005296, allocations: 21.56 kB / 0.8802 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.005323, allocations: 14.17 kB / 0.8802 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.005347, allocations: 12.31 kB / 0.8802 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.686e-05/0.005444, allocations: 35.88 kB / 0.8803 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005446, allocations: 1.875 kB / 0.8803 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005447, allocations: 4 kB / 0.8803 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.005451, allocations: 0 / 0.8803 GB, free: 5.184 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.0002718/0.005723, allocations: 364.5 kB / 0.8806 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.005757, allocations: 8.031 kB / 0.8806 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.00579, allocations: 11.62 kB / 0.8806 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.659e-05/0.005856, allocations: 120.5 kB / 0.8808 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.005867, allocations: 384 / 0.8808 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-06/0.005876, allocations: 4.375 kB / 0.8808 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.005972, allocations: 54.22 kB / 0.8808 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.00598, allocations: 192 / 0.8808 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.005988, allocations: 4.375 kB / 0.8808 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.005993, allocations: 12.31 kB / 0.8808 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.006084, allocations: 79.75 kB / 0.8809 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001122/0.006196, allocations: 109.2 kB / 0.881 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.006268, allocations: 51.03 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.006294, allocations: 23.69 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.00642, allocations: 23.97 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.006443, allocations: 37.39 kB / 0.8811 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 9.01e-07/0.006443, allocations: 0 / 0.8811 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0001617/0.006605, allocations: 89.88 kB / 0.8812 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.006633, allocations: 55.41 kB / 0.8813 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.098e-05/0.006684, allocations: 150.2 kB / 0.8814 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.006695, allocations: 29.7 kB / 0.8814 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.006969, allocations: 126.9 kB / 0.8816 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.007, allocations: 27.81 kB / 0.8816 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.007042, allocations: 35.36 kB / 0.8816 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.007162, allocations: 0.4961 MB / 0.8821 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.00718, allocations: 4 kB / 0.8821 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.007198, allocations: 12.42 kB / 0.8821 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.056e-05/0.007258, allocations: 43.81 kB / 0.8822 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00726, allocations: 0 / 0.8822 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.926e-05/0.007359, allocations: 81.52 kB / 0.8822 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.007371, allocations: 8 kB / 0.8823 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.007375, allocations: 0 / 0.8823 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.007383, allocations: 0 / 0.8823 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.007456, allocations: 19.98 kB / 0.8823 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.007458, allocations: 0 / 0.8823 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.007474, allocations: 4 kB / 0.8823 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.00748, allocations: 7.938 kB / 0.8823 GB, free: 2.93 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.82e-05/0.007559, allocations: 168.5 kB / 0.8824 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.007571, allocations: 7.953 kB / 0.8825 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.007707, allocations: 109.5 kB / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.007709, allocations: 0 / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.00771, allocations: 0 / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.007714, allocations: 3.984 kB / 0.8826 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.109e-05/0.007795, allocations: 113.2 kB / 0.8827 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.007798, allocations: 4 kB / 0.8827 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002076/0.009874, allocations: 23.92 kB / 0.8827 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.009877, allocations: 0 / 0.8827 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.009886, allocations: 4 kB / 0.8827 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.009888, allocations: 0 / 0.8827 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009889, allocations: 0 / 0.8827 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.01002, allocations: 124.3 kB / 0.8828 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-06/0.01003, allocations: 3.953 kB / 0.8828 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.01004, allocations: 8 kB / 0.8828 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.375e-05/0.01006, allocations: 0 / 0.8828 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.01008, allocations: 7.984 kB / 0.8828 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01009, allocations: 7.984 kB / 0.8828 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.208e-05/0.01012, allocations: 123.9 kB / 0.883 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01012, allocations: 0 / 0.883 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001894/0.01031, allocations: 11.94 kB / 0.883 GB, free: 2.16 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.0001365/0.01045, allocations: 119.1 kB / 0.8831 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.463e-05/0.01054, allocations: 43.66 kB / 0.8831 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01054, allocations: 0 / 0.8831 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.01058, allocations: 52.06 kB / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.0107, allocations: 0 / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.0109, allocations: 142.4 kB / 0.8833 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.917e-05/0.01093, allocations: 55.36 kB / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.01097, allocations: 15.97 kB / 0.8834 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.01101, allocations: 78.2 kB / 0.8835 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.01101, allocations: 0 / 0.8835 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of Templates: time 0.002016/0.01302, allocations: 0.6934 MB / 0.8841 GB, free: 0.9062 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.351808458101004]