Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_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.001637/0.001637, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.002239/0.002239, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.304/2.304, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.389/4.389, allocations: 409.2 MB / 0.6838 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004363, allocations: 16 kB / 0.8375 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373/1.374, allocations: 146.8 MB / 0.9809 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001407/1.375, allocations: 317.6 kB / 0.9812 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000408/1.376, allocations: 51.89 kB / 0.9812 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/1.376, allocations: 3.938 kB / 0.9812 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.374e-05/1.376, allocations: 3.938 kB / 0.9812 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.133e-05/1.376, allocations: 0 / 0.9812 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/1.376, allocations: 11.98 kB / 0.9812 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/1.376, allocations: 23.98 kB / 0.9813 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.556e-05/1.377, allocations: 0 / 0.9813 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/1.377, allocations: 15.97 kB / 0.9813 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/1.377, allocations: 8 kB / 0.9813 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/1.377, allocations: 0 / 0.9813 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/1.377, allocations: 15.98 kB / 0.9813 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/1.377, allocations: 11.92 kB / 0.9813 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/1.377, allocations: 33.7 kB / 0.9813 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/1.377, allocations: 15.97 kB / 0.9814 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.377, allocations: 0 / 0.9814 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.587e-06/1.377, allocations: 0 / 0.9814 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.438e-06/1.377, allocations: 4 kB / 0.9814 GB, free: 5.832 MB / 0.7325 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.0008321/1.378, allocations: 335.3 kB / 0.9817 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001056/1.378, allocations: 12.03 kB / 0.9817 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.536e-05/1.378, allocations: 34.55 kB / 0.9817 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/1.378, allocations: 4 kB / 0.9817 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/1.379, allocations: 161.3 kB / 0.9819 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/1.379, allocations: 11.88 kB / 0.9819 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/1.379, allocations: 4 kB / 0.9819 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/1.379, allocations: 65.61 kB / 0.982 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.379, allocations: 4 kB / 0.982 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/1.379, allocations: 8 kB / 0.982 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/1.379, allocations: 0 / 0.982 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/1.379, allocations: 95.88 kB / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/1.38, allocations: 181.5 kB / 0.9822 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/1.38, allocations: 70.48 kB / 0.9823 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/1.381, allocations: 405.5 kB / 0.9827 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/1.381, allocations: 38.56 kB / 0.9827 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/1.381, allocations: 0 / 0.9827 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0004176/1.381, allocations: 113.9 kB / 0.9828 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/1.381, allocations: 55.41 kB / 0.9829 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/1.381, allocations: 93.77 kB / 0.983 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/1.381, allocations: 29.7 kB / 0.983 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/1.382, allocations: 80.33 kB / 0.9831 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/1.382, allocations: 19.8 kB / 0.9831 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/1.382, allocations: 4 kB / 0.9831 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0003076/1.382, allocations: 318.8 kB / 0.9834 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.772e-05/1.382, allocations: 19.98 kB / 0.9834 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/1.382, allocations: 20.42 kB / 0.9835 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/1.382, allocations: 36.08 kB / 0.9835 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.382, allocations: 0 / 0.9835 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003794/1.383, allocations: 85.58 kB / 0.9836 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/1.383, allocations: 8 kB / 0.9836 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/1.383, allocations: 0 / 0.9836 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/1.383, allocations: 0 / 0.9836 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/1.383, allocations: 27.92 kB / 0.9836 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.383, allocations: 7.953 kB / 0.9836 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/1.383, allocations: 3.938 kB / 0.9836 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/1.383, allocations: 7.984 kB / 0.9836 GB, free: 3.199 MB / 0.7325 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003464/1.383, allocations: 117.8 kB / 0.9837 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/1.383, allocations: 0 / 0.9837 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/1.384, allocations: 133.6 kB / 0.9839 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.384, allocations: 7.984 kB / 0.9839 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/1.384, allocations: 3.984 kB / 0.9839 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/1.384, allocations: 3.953 kB / 0.9839 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/1.384, allocations: 177.4 kB / 0.984 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.384, allocations: 0 / 0.984 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/1.384, allocations: 23.98 kB / 0.9841 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/1.384, allocations: 0 / 0.9841 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/1.384, allocations: 4 kB / 0.9841 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.385, allocations: 0 / 0.9841 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/1.385, allocations: 7.984 kB / 0.9841 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/1.385, allocations: 121.4 kB / 0.9842 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.385, allocations: 85.02 kB / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/1.385, allocations: 0 / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/1.385, allocations: 7.984 kB / 0.9843 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/1.385, allocations: 7.938 kB / 0.9843 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/1.385, allocations: 7.984 kB / 0.9843 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.818e-05/1.385, allocations: 75.28 kB / 0.9844 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.385, allocations: 0 / 0.9844 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003533/1.386, allocations: 20 kB / 0.9844 GB, free: 2.309 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/1.387, allocations: 0.6631 MB / 0.985 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002691/1.387, allocations: 55.91 kB / 0.9851 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.387, allocations: 4 kB / 0.9851 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/1.387, allocations: 44.56 kB / 0.9851 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/1.387, allocations: 1.422 kB / 0.9851 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007347/1.388, allocations: 183.2 kB / 0.9853 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/1.389, allocations: 0.6848 MB / 0.986 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001369/1.389, allocations: 43.92 kB / 0.986 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/1.389, allocations: 19.42 kB / 0.986 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/1.389, allocations: 0 / 0.986 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/1.415, allocations: 1.319 MB / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004429/1.415, allocations: 201.2 kB / 0.9875 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/4.356, allocations: 0 / 0.9875 GB, free: 15.11 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial_fmu --startTime=0 --stopTime=13.9 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_FallingFactorial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat does not exist to compare? outputFormat=mat