Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001645/0.001645, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002168/0.002168, allocations: 219.6 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.895/2.895, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 64.72 kB / 1.117 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.342, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003549/0.3456, allocations: 1.573 MB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004125/0.346, allocations: 135.6 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.346, allocations: 0 / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.346, allocations: 7.922 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.3461, allocations: 11.92 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.3464, allocations: 31.97 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.3465, allocations: 35.86 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.356e-05/0.3466, allocations: 11.98 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.3466, allocations: 15.98 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.3467, allocations: 15.92 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.3467, allocations: 4 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.3468, allocations: 19.98 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.3468, allocations: 15.91 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.3468, allocations: 15.94 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.347, allocations: 56.44 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.347, allocations: 0 / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.347, allocations: 0 / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.347, allocations: 0 / 1.285 GB, free: 9.707 MB / 0.9825 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.000514/0.3475, allocations: 279.9 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3475, allocations: 8.031 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.3476, allocations: 30.75 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.3476, allocations: 8.891 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3477, allocations: 122.5 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3477, allocations: 4.375 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.3478, allocations: 4.375 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.348, allocations: 62.17 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.348, allocations: 7.938 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.348, allocations: 3.938 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.348, allocations: 3.984 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.3482, allocations: 43.95 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.3486, allocations: 251.9 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.3489, allocations: 58.48 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.349, allocations: 24.89 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.3492, allocations: 15.98 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.3492, allocations: 38.56 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3492, allocations: 0 / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003965/0.3496, allocations: 89.62 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3496, allocations: 55.41 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3498, allocations: 113.8 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3498, allocations: 25.7 kB / 1.286 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.3498, allocations: 88.08 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.3499, allocations: 11.95 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3499, allocations: 17.7 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.35, allocations: 318.8 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.363e-05/0.3501, allocations: 19.98 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.995e-05/0.3502, allocations: 15.97 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3504, allocations: 57.08 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3504, allocations: 0 / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002187/0.3506, allocations: 73.66 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3506, allocations: 7.938 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3506, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3506, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.3507, allocations: 15.92 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3507, allocations: 0 / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.979e-05/0.3508, allocations: 11.98 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.3508, allocations: 4 kB / 1.287 GB, free: 7.656 MB / 0.9825 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 9.907e-05/0.3509, allocations: 117.7 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3509, allocations: 7.953 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.3512, allocations: 77.64 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3512, allocations: 4 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3512, allocations: 4 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3512, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3514, allocations: 144.7 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3514, allocations: 0 / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.034e-05/0.3515, allocations: 15.92 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3515, allocations: 0 / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3515, allocations: 0 / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3515, allocations: 3.938 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3515, allocations: 0 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.3518, allocations: 179.4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.3518, allocations: 11.95 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.3519, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.881e-05/0.352, allocations: 11.98 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.352, allocations: 3.984 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.352, allocations: 4 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.3521, allocations: 83.28 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3521, allocations: 4 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002289/0.3523, allocations: 8 kB / 1.288 GB, free: 6.91 MB / 0.9825 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.0006772/0.353, allocations: 0.7141 MB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.3532, allocations: 52.14 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3532, allocations: 0 / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.956e-05/0.3533, allocations: 23.92 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3536, allocations: 6.219 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.3553, allocations: 1.307 MB / 1.29 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3556, allocations: 0.6807 MB / 1.29 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.3556, allocations: 0 / 1.29 GB, free: 4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.3557, allocations: 19.42 kB / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3557, allocations: 0 / 1.29 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.3852, allocations: 1.805 MB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 11.59 kB / 1.292 GB, free: 2.297 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.36326045705937]