Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009529/0.0009529, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001417/0.001417, allocations: 161 kB / 24.17 MB, free: 332 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.036/1.036, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.047/2.047, allocations: 377.9 MB / 0.624 GB, free: 8.336 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.7601 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.735e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001234/0.001251, allocations: 0.6565 MB / 0.7608 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002435/0.001494, allocations: 56.31 kB / 0.7608 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.965e-05/0.001514, allocations: 1.062 kB / 0.7608 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.001544, allocations: 0 / 0.7608 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-06/0.00155, allocations: 0 / 0.7608 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.001815, allocations: 21.34 kB / 0.7608 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.001901, allocations: 31.95 kB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.001948, allocations: 4.719 kB / 0.7609 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.001991, allocations: 16.64 kB / 0.7609 GB, free: 5.762 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.002018, allocations: 12.5 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.002034, allocations: 1.203 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.002165, allocations: 20.98 kB / 0.7609 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.002195, allocations: 16.62 kB / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.00222, allocations: 10.56 kB / 0.7609 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.002329, allocations: 37.08 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002331, allocations: 0 / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002331, allocations: 0.5625 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.002336, allocations: 0.6562 kB / 0.761 GB, free: 5.672 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002594/0.002596, allocations: 238.4 kB / 0.7612 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.00263, allocations: 8.031 kB / 0.7612 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.002659, allocations: 4.938 kB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.714e-05/0.002726, allocations: 107.2 kB / 0.7613 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.00274, allocations: 9.594 kB / 0.7613 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.002752, allocations: 8.359 kB / 0.7613 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.262e-05/0.002845, allocations: 50.17 kB / 0.7614 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.002854, allocations: 5.703 kB / 0.7614 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.002861, allocations: 384 / 0.7614 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.002868, allocations: 1 kB / 0.7614 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.579e-05/0.002964, allocations: 71.81 kB / 0.7615 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.00308, allocations: 85.83 kB / 0.7615 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.132e-05/0.003151, allocations: 47.53 kB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.003181, allocations: 22.47 kB / 0.7616 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.003306, allocations: 19.97 kB / 0.7616 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.003331, allocations: 34.56 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.003332, allocations: 0 / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001446/0.003476, allocations: 76.36 kB / 0.7617 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.003502, allocations: 51.41 kB / 0.7618 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.492e-05/0.003537, allocations: 94.98 kB / 0.7619 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.003548, allocations: 30.67 kB / 0.7619 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.003582, allocations: 84.14 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.003612, allocations: 24.38 kB / 0.762 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.003653, allocations: 30.72 kB / 0.762 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.003736, allocations: 318.8 kB / 0.7623 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.003751, allocations: 7.984 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.003766, allocations: 10.47 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.003828, allocations: 36.3 kB / 0.7624 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00383, allocations: 0 / 0.7624 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.829e-05/0.003908, allocations: 65.77 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.003919, allocations: 4 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.003925, allocations: 7.984 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.003937, allocations: 0 / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.004013, allocations: 14.75 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.004015, allocations: 4 kB / 0.7625 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.004032, allocations: 3.984 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.004045, allocations: 4.547 kB / 0.7625 GB, free: 3.992 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: 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.004e-05/0.004115, allocations: 120.6 kB / 0.7626 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.004127, allocations: 8 kB / 0.7626 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.004254, allocations: 105 kB / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.004256, allocations: 0 / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.004257, allocations: 0 / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00426, allocations: 0.875 kB / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.801e-05/0.004348, allocations: 89.77 kB / 0.7628 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.004351, allocations: 8.906 kB / 0.7628 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.004403, allocations: 20 kB / 0.7628 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.004405, allocations: 0 / 0.7628 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.004411, allocations: 4.703 kB / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.004412, allocations: 0 / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.004413, allocations: 1.531 kB / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.911e-05/0.004502, allocations: 94.41 kB / 0.7629 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.004509, allocations: 8.453 kB / 0.7629 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.004519, allocations: 2.906 kB / 0.7629 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.019e-05/0.00453, allocations: 0 / 0.7629 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.828e-05/0.004558, allocations: 12.75 kB / 0.763 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.004565, allocations: 7.984 kB / 0.763 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.871e-06/0.004571, allocations: 4.859 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.004571, allocations: 0 / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001638/0.004735, allocations: 8 kB / 0.763 GB, free: 3.457 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: 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.0001173/0.004852, allocations: 94.8 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.71e-05/0.004939, allocations: 57.5 kB / 0.7631 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.004941, allocations: 0 / 0.7631 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.004976, allocations: 32.78 kB / 0.7632 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.573e-05/0.005032, allocations: 4 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.005239, allocations: 129 kB / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.00527, allocations: 55.36 kB / 0.7633 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.005304, allocations: 16.66 kB / 0.7633 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.005344, allocations: 59.38 kB / 0.7634 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.005345, allocations: 0.9688 kB / 0.7634 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of Templates: time 0.00241/0.007755, allocations: 0.6898 MB / 0.7641 GB, free: 2.305 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.19023871421814]