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.000791/0.000791, 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.001415/0.001415, allocations: 169.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.9209/0.9209, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.772/1.772, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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 2.655e-06/2.655e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.761e-05/4.027e-05, allocations: 6.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003658/0.003698, allocations: 1.555 MB / 0.9825 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004514/0.004149, allocations: 135.5 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.004196, allocations: 0 / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.004232, allocations: 7.922 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.004278, allocations: 4 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.004634, allocations: 35.83 kB / 0.9827 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.617e-05/0.00472, allocations: 35.86 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.004834, allocations: 12 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.146e-05/0.004885, allocations: 19.97 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.004937, allocations: 23.91 kB / 0.9827 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.004955, allocations: 4 kB / 0.9827 GB, free: 0.7422 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.005044, allocations: 15.98 kB / 0.9828 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.005055, allocations: 4 kB / 0.9828 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.005082, allocations: 15.97 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.005238, allocations: 59.73 kB / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.005242, allocations: 0 / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.683e-06/0.005244, allocations: 0 / 0.9828 GB, free: 0.6484 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005248, allocations: 4 kB / 0.9828 GB, free: 0.6445 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.0004454/0.005694, allocations: 274.2 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.005739, allocations: 8.031 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.005781, allocations: 38.73 kB / 0.9831 GB, free: 296 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.931e-05/0.00581, allocations: 4.938 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.005921, allocations: 117.7 kB / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.005945, allocations: 384 / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.005959, allocations: 8.375 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.006164, allocations: 58.22 kB / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.006174, allocations: 4.188 kB / 0.9833 GB, free: 72 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.006186, allocations: 4.375 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.006202, allocations: 8.125 kB / 0.9833 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.006359, allocations: 47.89 kB / 0.9834 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.007015, allocations: 231.9 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.007322, allocations: 62.42 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.007408, allocations: 28.89 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.007539, allocations: 15.98 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.007563, allocations: 42.5 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.007565, allocations: 0 / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003558/0.007921, allocations: 93.58 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.007954, allocations: 51.41 kB / 0.9839 GB, free: 15.41 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.008038, allocations: 117.8 kB / 0.984 GB, free: 15.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.00805, allocations: 25.7 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.008093, allocations: 80.14 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.00811, allocations: 12.03 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.008151, allocations: 21.64 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.008251, allocations: 318.8 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.008324, allocations: 11.98 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.641e-05/0.00839, allocations: 23.97 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.008537, allocations: 44.83 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008539, allocations: 0 / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001922/0.008731, allocations: 89.53 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.008746, allocations: 4 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008751, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.008764, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.008838, allocations: 15.92 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008843, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.818e-05/0.008892, allocations: 11.92 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.008899, allocations: 4 kB / 0.9846 GB, free: 14.61 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 7.506e-05/0.008974, allocations: 114.2 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.009001, allocations: 7.938 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.009239, allocations: 81.62 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.009242, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.009247, allocations: 4 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.00925, allocations: 0 / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.00942, allocations: 144.6 kB / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.009423, allocations: 0 / 0.985 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.009492, allocations: 19.92 kB / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.009494, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.009502, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.009504, allocations: 0 / 0.985 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.009508, allocations: 11.92 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.009735, allocations: 171.5 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.009746, allocations: 0 / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.009759, allocations: 0 / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.009836, allocations: 7.984 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.009892, allocations: 15.98 kB / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.009897, allocations: 0 / 0.9852 GB, free: 13.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.009944, allocations: 87.28 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.009944, allocations: 3.938 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002782/0.01022, allocations: 8 kB / 0.9853 GB, free: 13.87 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.0005466/0.01077, allocations: 0.7123 MB / 0.986 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.01097, allocations: 55.95 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01097, allocations: 0 / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.735e-05/0.01105, allocations: 19.98 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.01138, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.01275, allocations: 1.292 MB / 0.9873 GB, free: 11.67 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.582e-05/0.01281, allocations: 67.34 kB / 0.9874 GB, free: 11.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.01284, allocations: 4 kB / 0.9874 GB, free: 11.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.01289, allocations: 20.86 kB / 0.9874 GB, free: 11.56 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/0.01289, allocations: 0 / 0.9874 GB, free: 11.56 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.0339, allocations: 2.387 MB / 0.9897 GB, free: 9.316 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.867/6.901, allocations: 10.62 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.980935198254883]