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.0008312/0.0008314, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004972/0.004972, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.423/2.423, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 8 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6/0.6004, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007357/0.6012, allocations: 321.5 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.6015, allocations: 55.84 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.365e-05/0.6015, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.6015, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.459e-06/0.6016, allocations: 3.938 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.6018, allocations: 19.92 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.186e-05/0.6019, allocations: 31.91 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.6019, allocations: 3.984 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.602, allocations: 12 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.227e-05/0.602, allocations: 11.98 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.602, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.6021, allocations: 19.97 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.6021, allocations: 8 kB / 1.024 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.6022, allocations: 41.58 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.232e-05/0.6023, allocations: 31.89 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6023, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6023, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.6023, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 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.0003226/0.6026, allocations: 327.5 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.6027, allocations: 20.02 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.6027, allocations: 34.75 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/0.6028, allocations: 4.938 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.6029, allocations: 166.6 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.6029, allocations: 384 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.603, allocations: 8.375 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.6031, allocations: 62.22 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.6031, allocations: 3.938 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.6031, allocations: 4 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6031, allocations: 4 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.6033, allocations: 103.9 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.6035, allocations: 181.4 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.6036, allocations: 74.48 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.6036, allocations: 28.84 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.604, allocations: 405.5 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.604, allocations: 38.56 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.604, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0002378/0.6043, allocations: 113.9 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.6043, allocations: 55.34 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.6044, allocations: 105.7 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.6044, allocations: 29.7 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.6044, allocations: 80.14 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.6044, allocations: 15.81 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.6045, allocations: 17.72 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6046, allocations: 314.8 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.6046, allocations: 27.92 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.6047, allocations: 28.36 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.6048, allocations: 56.83 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6048, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001417/0.6049, allocations: 89.52 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.605, allocations: 15.88 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.605, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.605, allocations: 3.984 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.6051, allocations: 23.98 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.6051, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.6051, allocations: 7.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.6052, allocations: 4 kB / 1.026 GB, free: 12.56 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.0001301/0.6053, allocations: 122.4 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.6053, allocations: 7.844 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.6055, allocations: 125.5 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.6056, allocations: 3.938 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6056, allocations: 4 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.6056, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.6057, allocations: 177.6 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6057, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.6058, allocations: 19.98 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.6058, allocations: 7.938 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.6058, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6058, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6058, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.606, allocations: 128.9 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/0.606, allocations: 81.05 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.6061, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/0.6061, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.6061, allocations: 7.984 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.6061, allocations: 3.938 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.515e-05/0.6062, allocations: 75.28 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6062, allocations: 0 / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001985/0.6064, allocations: 16 kB / 1.027 GB, free: 11.69 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.000475/0.6069, allocations: 0.6772 MB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.607, allocations: 63.95 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.607, allocations: 0 / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.6071, allocations: 39.92 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.6072, allocations: 4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.6076, allocations: 192.3 kB / 1.028 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.6078, allocations: 0.6809 MB / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.445e-05/0.6079, allocations: 35.94 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.6079, allocations: 23.42 kB / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.608, allocations: 0 / 1.028 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01014/0.6181, allocations: 1.353 MB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.6183, allocations: 212.2 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.001, allocations: 3.938 kB / 1.03 GB, free: 8.414 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