Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 190.5 kB / 16.13 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.71 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6356/0.637, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001946/0.639, allocations: 0.649 MB / 1.017 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003052/0.6393, allocations: 59.83 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.6394, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.6394, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-06/0.6394, allocations: 3.938 kB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.6397, allocations: 15.94 kB / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.182e-05/0.6398, allocations: 35.95 kB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.6398, allocations: 0 / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.6398, allocations: 12 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.841e-05/0.6399, allocations: 11.97 kB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.6399, allocations: 4 kB / 1.018 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.64, allocations: 15.98 kB / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.64, allocations: 8 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.6401, allocations: 19.86 kB / 1.018 GB, free: 1.973 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.687e-05/0.6402, allocations: 31.89 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6402, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6402, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.6402, allocations: 4 kB / 1.018 GB, free: 1.938 MB / 0.7637 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.0003155/0.6405, allocations: 339.5 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.6406, allocations: 11.97 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.082e-05/0.6406, allocations: 38.73 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.6406, allocations: 4.938 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.834e-05/0.6407, allocations: 166.6 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.6407, allocations: 4.375 kB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.6408, allocations: 8.375 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.6409, allocations: 58.23 kB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.6409, allocations: 15.92 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.6409, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.641, allocations: 0 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.6411, allocations: 99.88 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.6413, allocations: 185.4 kB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.6414, allocations: 78.47 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.6415, allocations: 28.84 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.6418, allocations: 405.5 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.6418, allocations: 34.56 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.6418, allocations: 0 / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of matching and sorting (n=11): time 0.0002423/0.6421, allocations: 117.9 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.6421, allocations: 63.28 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.853e-05/0.6422, allocations: 93.77 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.6422, allocations: 29.7 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.465e-05/0.6422, allocations: 80.14 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.6422, allocations: 19.8 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.6423, allocations: 33.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.094e-05/0.6424, allocations: 314.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.6424, allocations: 19.98 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.6425, allocations: 19.98 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.47e-05/0.6426, allocations: 60.83 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6426, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001353/0.6427, allocations: 93.52 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6427, allocations: 7.938 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6428, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.6428, allocations: 7.938 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.6429, allocations: 15.98 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.6429, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.6429, allocations: 7.938 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.6429, allocations: 4 kB / 1.02 GB, free: 15.19 MB / 0.7794 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 0.0001369/0.6431, allocations: 122.4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.6431, allocations: 7.844 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.6433, allocations: 129.4 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.6433, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.6433, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6434, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.6435, allocations: 177.6 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.6435, allocations: 0 / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.6436, allocations: 19.98 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.6436, allocations: 3.938 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.6436, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.6436, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6436, allocations: 0 / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.6437, allocations: 125.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.6438, allocations: 85.05 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.6438, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.7e-05/0.6438, allocations: 7.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.6439, allocations: 11.98 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.6439, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.437e-05/0.6439, allocations: 79.28 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6439, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001975/0.6441, allocations: 16 kB / 1.021 GB, free: 14.3 MB / 0.7794 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.0004551/0.6446, allocations: 0.6748 MB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.6447, allocations: 63.91 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6447, allocations: 0 / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.6448, allocations: 35.92 kB / 1.021 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.6449, allocations: 4 kB / 1.021 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.6453, allocations: 184.3 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.6455, allocations: 0.6848 MB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.449e-05/0.6456, allocations: 39.94 kB / 1.022 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.6456, allocations: 19.42 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6457, allocations: 0 / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.6561, allocations: 1.416 MB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.6564, allocations: 214.7 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.281, allocations: 0 / 1.024 GB, free: 10.94 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches