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.001109/0.001109, 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.0013/0.0013, 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 0.9346/0.9346, allocations: 177.2 MB / 204.6 MB, free: 5.484 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 1.84/1.84, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.394e-06/2.394e-06, allocations: 0 / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.585e-05/3.824e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001482/0.001521, allocations: 0.6193 MB / 0.7607 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002905/0.001811, allocations: 52.56 kB / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.001836, allocations: 0 / 0.7607 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.001884, allocations: 5.688 kB / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.215e-06/0.001893, allocations: 0 / 0.7607 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.002261, allocations: 20.58 kB / 0.7607 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.738e-05/0.002359, allocations: 31.95 kB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.00241, allocations: 9.203 kB / 0.7608 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.002455, allocations: 12.64 kB / 0.7608 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.84e-05/0.002484, allocations: 11.98 kB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.002498, allocations: 1.422 kB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.002606, allocations: 24.62 kB / 0.7608 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.002637, allocations: 9.766 kB / 0.7608 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.002664, allocations: 13.52 kB / 0.7609 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.00278, allocations: 36.77 kB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002782, allocations: 0.6875 kB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.133e-06/0.002784, allocations: 0.5469 kB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.002788, allocations: 1.031 kB / 0.7609 GB, free: 5.781 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.0002899/0.003078, allocations: 236.6 kB / 0.7611 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.003121, allocations: 9.562 kB / 0.7611 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.003152, allocations: 5.469 kB / 0.7611 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.785e-05/0.00323, allocations: 115.1 kB / 0.7612 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.003244, allocations: 4.375 kB / 0.7612 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.003257, allocations: 4.375 kB / 0.7613 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.003361, allocations: 59.14 kB / 0.7613 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.003369, allocations: 0.7812 kB / 0.7613 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.003376, allocations: 1.594 kB / 0.7613 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.003381, allocations: 384 / 0.7613 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.737e-05/0.003448, allocations: 71.81 kB / 0.7614 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001004/0.003549, allocations: 80.7 kB / 0.7615 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.947e-05/0.003608, allocations: 40.36 kB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.003634, allocations: 12.86 kB / 0.7615 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.00377, allocations: 38.14 kB / 0.7615 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.003791, allocations: 30.56 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.003793, allocations: 0 / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001267/0.00392, allocations: 76.11 kB / 0.7616 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.003952, allocations: 56.28 kB / 0.7617 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.296e-05/0.003985, allocations: 94.59 kB / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.003995, allocations: 25.7 kB / 0.7618 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.004018, allocations: 80.67 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.004045, allocations: 33.42 kB / 0.7619 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.004074, allocations: 21.72 kB / 0.7619 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.004155, allocations: 326.8 kB / 0.7623 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.004166, allocations: 4.766 kB / 0.7623 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.467e-05/0.004181, allocations: 16.8 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.004233, allocations: 34.3 kB / 0.7623 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.004235, allocations: 0 / 0.7623 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 6.617e-05/0.004301, allocations: 58.88 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.004313, allocations: 9.25 kB / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.004318, allocations: 0 / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.00433, allocations: 0 / 0.7624 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.0044, allocations: 19.92 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.004403, allocations: 5.25 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.004416, allocations: 0 / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.004421, allocations: 4.547 kB / 0.7624 GB, free: 4.105 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.28e-05/0.004494, allocations: 135.7 kB / 0.7625 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.004504, allocations: 8 kB / 0.7625 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.004619, allocations: 90.92 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.004622, allocations: 0 / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.004624, allocations: 7.922 kB / 0.7626 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.004627, allocations: 0.6562 kB / 0.7626 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.004981, allocations: 80.88 kB / 0.7627 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.004982, allocations: 0 / 0.7627 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.005025, allocations: 19.98 kB / 0.7627 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.005028, allocations: 4 kB / 0.7627 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.005033, allocations: 0.875 kB / 0.7627 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.005035, allocations: 0 / 0.7627 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005036, allocations: 0 / 0.7627 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.237e-05/0.005108, allocations: 90.78 kB / 0.7628 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.005116, allocations: 21.38 kB / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.005124, allocations: 0 / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-06/0.00513, allocations: 0 / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.005158, allocations: 7.984 kB / 0.7628 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.005162, allocations: 4 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.631e-06/0.005167, allocations: 5.516 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005167, allocations: 2.219 kB / 0.7629 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001077/0.005275, allocations: 15.94 kB / 0.7629 GB, free: 3.574 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.0001303/0.005405, allocations: 94.84 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.005484, allocations: 51.39 kB / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.005486, allocations: 0 / 0.763 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.005518, allocations: 32.83 kB / 0.763 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.103e-05/0.005569, allocations: 4.797 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.005761, allocations: 133.9 kB / 0.7632 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.005792, allocations: 67.28 kB / 0.7632 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.005816, allocations: 11.98 kB / 0.7633 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.005852, allocations: 63.36 kB / 0.7633 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.005853, allocations: 0 / 0.7633 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of Templates: time 0.002149/0.008002, allocations: 0.6842 MB / 0.764 GB, free: 2.422 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 -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: 4.927382449153811]