Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_11_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.007931/0.007931, allocations: 101 kB / 15.73 MB, free: 6.062 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.001318/0.001318, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 71.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8108, allocations: 159.1 MB / 1.22 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00155/0.8124, allocations: 0.5797 MB / 1.221 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.8126, allocations: 57.75 kB / 1.221 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.8126, allocations: 0 / 1.221 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.8127, allocations: 4 kB / 1.221 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-06/0.8127, allocations: 0 / 1.221 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.8129, allocations: 19.86 kB / 1.221 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.813, allocations: 39.89 kB / 1.221 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.8131, allocations: 4 kB / 1.221 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.566e-05/0.8131, allocations: 8 kB / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.98e-05/0.8131, allocations: 15.97 kB / 1.221 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.8132, allocations: 4 kB / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.846e-05/0.8132, allocations: 15.98 kB / 1.221 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.8133, allocations: 8 kB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.8133, allocations: 19.86 kB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.462e-05/0.8134, allocations: 31.89 kB / 1.221 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8134, allocations: 4 kB / 1.221 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8134, allocations: 0 / 1.221 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.8134, allocations: 0 / 1.221 GB, free: 1.176 MB / 0.9356 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.0003496/0.8138, allocations: 343.1 kB / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.8138, allocations: 8.031 kB / 1.221 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.8139, allocations: 42.73 kB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.8139, allocations: 0.9375 kB / 1.221 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.814, allocations: 168.3 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.8141, allocations: 384 / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.8141, allocations: 4.375 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.8142, allocations: 70.16 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.8142, allocations: 3.938 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.8142, allocations: 4 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8143, allocations: 4 kB / 1.222 GB, free: 452 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.8144, allocations: 95.88 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.8146, allocations: 185.5 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.8148, allocations: 70.55 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.8148, allocations: 32.78 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/0.8152, allocations: 405.5 kB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.8152, allocations: 38.56 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.233e-06/0.8152, allocations: 0 / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.0002491/0.8155, allocations: 118.2 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.8155, allocations: 55.34 kB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.661e-05/0.8156, allocations: 93.81 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.8156, allocations: 29.7 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.8157, allocations: 84.12 kB / 1.223 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.8157, allocations: 23.8 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.8157, allocations: 33.7 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8159, allocations: 318.8 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.8159, allocations: 23.92 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.711e-05/0.816, allocations: 23.92 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.8161, allocations: 60.83 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8161, allocations: 0 / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001415/0.8162, allocations: 85.61 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.8163, allocations: 11.94 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.8163, allocations: 0 / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.8163, allocations: 4 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.8164, allocations: 23.92 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.8164, allocations: 0 / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.8164, allocations: 3.953 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.8165, allocations: 8 kB / 1.223 GB, free: 14.43 MB / 0.9512 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.0001221/0.8166, allocations: 123.2 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.8166, allocations: 7.938 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.8168, allocations: 133.4 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.8169, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.8169, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.8169, allocations: 0 / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.817, allocations: 177.6 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.817, allocations: 0 / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.214e-05/0.8171, allocations: 19.98 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.8171, allocations: 3.938 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.8171, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8171, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8171, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.8173, allocations: 133 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.8174, allocations: 81.05 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.8174, allocations: 4 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.8174, allocations: 0 / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.8175, allocations: 19.91 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.8175, allocations: 8 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.8175, allocations: 75.28 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8175, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002072/0.8177, allocations: 19.94 kB / 1.224 GB, free: 13.53 MB / 0.9512 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.0005453/0.8183, allocations: 0.6798 MB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.8184, allocations: 59.91 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8184, allocations: 0 / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.8185, allocations: 39.92 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.8186, allocations: 14.02 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.819, allocations: 166.5 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.8194, allocations: 0.6883 MB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.723e-05/0.8194, allocations: 31.95 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.8195, allocations: 23.42 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of SimCode: time 2.81e-07/0.8195, allocations: 4 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.842, allocations: 1.562 MB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/9.01, allocations: 10.41 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 13.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00556 Buildings_11_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches