Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.0008206/0.0008206, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008214/0.0008214, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 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.8802/0.8802, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.7/1.7, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.191e-05, allocations: 6.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002098/0.00212, allocations: 1.554 MB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002796/0.002399, allocations: 131.5 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.002429, allocations: 4 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.002455, allocations: 7.938 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.932e-05/0.002494, allocations: 7.875 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.002762, allocations: 31.89 kB / 0.9827 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.002824, allocations: 35.92 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.184e-05/0.002906, allocations: 11.98 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.002939, allocations: 19.92 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.002976, allocations: 19.91 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.002991, allocations: 4 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.764e-05/0.003059, allocations: 19.98 kB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.003069, allocations: 7.984 kB / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.00309, allocations: 19.92 kB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.003233, allocations: 47.86 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003235, allocations: 0 / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003236, allocations: 0 / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.00324, allocations: 0 / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003223/0.003562, allocations: 282.2 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.003596, allocations: 8.031 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.003624, allocations: 38.69 kB / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.904e-05/0.003643, allocations: 4.922 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.69e-05/0.00372, allocations: 121.7 kB / 0.9833 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.003737, allocations: 4.375 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.003745, allocations: 4.375 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.003875, allocations: 66.16 kB / 0.9833 GB, free: 64 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.003882, allocations: 192 / 0.9833 GB, free: 64 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.003895, allocations: 4.375 kB / 0.9833 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.0039, allocations: 4.125 kB / 0.9833 GB, free: 56 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.004002, allocations: 43.95 kB / 0.9834 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.004306, allocations: 232 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.0045, allocations: 66.41 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.004549, allocations: 24.91 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.219e-05/0.004642, allocations: 15.98 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.004655, allocations: 38.5 kB / 0.9837 GB, free: 15.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004656, allocations: 0 / 0.9837 GB, free: 15.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002207/0.004877, allocations: 97.58 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.004901, allocations: 59.34 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.428e-05/0.004955, allocations: 113.8 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.004964, allocations: 25.7 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.004997, allocations: 84.14 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.005012, allocations: 8.031 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.00504, allocations: 21.7 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/0.005109, allocations: 310.8 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.582e-05/0.005154, allocations: 23.97 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.005196, allocations: 19.98 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.337e-05/0.005279, allocations: 44.81 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005281, allocations: 0 / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001137/0.005394, allocations: 85.48 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.005406, allocations: 4 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.00541, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.005421, allocations: 4 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.052e-05/0.005461, allocations: 7.984 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.005466, allocations: 11.94 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.005494, allocations: 11.92 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.005499, allocations: 4 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.221e-05/0.005551, allocations: 109.8 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.005564, allocations: 4.266 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.005709, allocations: 89.62 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.00571, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.005713, allocations: 4 kB / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.005716, allocations: 0 / 0.9848 GB, free: 14.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.005819, allocations: 144.6 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.005819, allocations: 0 / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.005849, allocations: 15.92 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.005851, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005857, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.6e-07/0.005857, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.005859, allocations: 8 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.005992, allocations: 171.5 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.006001, allocations: 7.984 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.00601, allocations: 4 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.763e-05/0.006048, allocations: 4 kB / 0.9852 GB, free: 13.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.006085, allocations: 7.984 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.006088, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.031e-05/0.006118, allocations: 91.27 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006118, allocations: 3.938 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001574/0.006275, allocations: 8 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003373/0.006613, allocations: 0.7201 MB / 0.986 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.006737, allocations: 43.95 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006739, allocations: 0 / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.784e-05/0.006787, allocations: 27.91 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.006981, allocations: 6.812 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008829/0.007864, allocations: 1.288 MB / 0.9873 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.007907, allocations: 63.34 kB / 0.9874 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.007935, allocations: 11.92 kB / 0.9874 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.007966, allocations: 12.5 kB / 0.9874 GB, free: 11.56 MB / 0.948 GB Notification: Performance of SimCode: time 5.41e-07/0.007967, allocations: 4 kB / 0.9874 GB, free: 11.56 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.02497, allocations: 2.387 MB / 0.9897 GB, free: 9.312 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.767/6.792, allocations: 8.75 kB / 0.9897 GB, free: 9.309 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv --start-time 0 --stop-time 11 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable falFac.y in file Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac.y from file Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.856966892257333]