Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 497.2 MB / 0.7812 GB, free: 11.98 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002968/0.002968, allocations: 67.91 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9835/0.9864, allocations: 173.9 MB / 1.304 GB, free: 32.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002327/0.9888, allocations: 1.537 MB / 1.305 GB, free: 31.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003526/0.9891, allocations: 139.7 kB / 1.306 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.9892, allocations: 3.344 kB / 1.306 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.9892, allocations: 7.125 kB / 1.306 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.9892, allocations: 11.92 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.9895, allocations: 31.38 kB / 1.306 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.9896, allocations: 34.06 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.9897, allocations: 10.25 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.842e-05/0.9897, allocations: 20.7 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.079e-05/0.9897, allocations: 17.36 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.9898, allocations: 2.625 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.307e-05/0.9898, allocations: 22.66 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.9898, allocations: 7.469 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.9899, allocations: 13.62 kB / 1.306 GB, free: 30.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.99, allocations: 61.64 kB / 1.306 GB, free: 30.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.99, allocations: 0 / 1.306 GB, free: 30.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.99, allocations: 0 / 1.306 GB, free: 30.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.99, allocations: 0 / 1.306 GB, free: 30.92 MB / 1.061 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.0003908/0.9904, allocations: 347.2 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9904, allocations: 9 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.9905, allocations: 37.69 kB / 1.306 GB, free: 30.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.9905, allocations: 7.797 kB / 1.306 GB, free: 30.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.639e-05/0.9906, allocations: 164.3 kB / 1.306 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.9906, allocations: 7.406 kB / 1.306 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.9906, allocations: 384 / 1.306 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.9908, allocations: 65.47 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9908, allocations: 6.688 kB / 1.306 GB, free: 30.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.9908, allocations: 0 / 1.306 GB, free: 30.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.9908, allocations: 0 / 1.306 GB, free: 30.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.991, allocations: 47.28 kB / 1.306 GB, free: 30.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.9913, allocations: 286.6 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.9916, allocations: 61.11 kB / 1.307 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.639e-05/0.9917, allocations: 20.77 kB / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.9919, allocations: 401 kB / 1.307 GB, free: 29.44 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.9919, allocations: 34.56 kB / 1.307 GB, free: 29.4 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.9919, allocations: 0 / 1.307 GB, free: 29.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.000365/0.9923, allocations: 99.33 kB / 1.307 GB, free: 29.35 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.9923, allocations: 51.41 kB / 1.307 GB, free: 29.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.9923, allocations: 113.3 kB / 1.308 GB, free: 29.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.176e-06/0.9924, allocations: 25.7 kB / 1.308 GB, free: 29.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.9924, allocations: 88.09 kB / 1.308 GB, free: 29.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.9924, allocations: 10.95 kB / 1.308 GB, free: 29.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.9924, allocations: 19.84 kB / 1.308 GB, free: 29.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.9925, allocations: 322.7 kB / 1.308 GB, free: 28.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.9926, allocations: 18.08 kB / 1.308 GB, free: 28.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.9926, allocations: 18.67 kB / 1.308 GB, free: 28.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.9928, allocations: 55.38 kB / 1.308 GB, free: 28.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9928, allocations: 0 / 1.308 GB, free: 28.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000183/0.993, allocations: 73.42 kB / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.993, allocations: 5.781 kB / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.993, allocations: 7.266 kB / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.993, allocations: 0 / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.9931, allocations: 11.73 kB / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.289e-06/0.9931, allocations: 0 / 1.308 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.9931, allocations: 10.72 kB / 1.308 GB, free: 28.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.9931, allocations: 5.969 kB / 1.308 GB, free: 28.63 MB / 1.061 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.192e-05/0.9932, allocations: 116.2 kB / 1.308 GB, free: 28.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.9932, allocations: 7.953 kB / 1.308 GB, free: 28.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.9934, allocations: 86.34 kB / 1.308 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.9934, allocations: 0 / 1.308 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9934, allocations: 4 kB / 1.308 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9934, allocations: 0 / 1.308 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.9936, allocations: 169.3 kB / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9936, allocations: 0 / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.9936, allocations: 11.84 kB / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9936, allocations: 3.516 kB / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.9936, allocations: 0 / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.9936, allocations: 2.812 kB / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.9936, allocations: 0 / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.9939, allocations: 176.9 kB / 1.309 GB, free: 28.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.9939, allocations: 81.06 kB / 1.309 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.9939, allocations: 0 / 1.309 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.994, allocations: 12.72 kB / 1.309 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.994, allocations: 6.156 kB / 1.309 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.994, allocations: 0 / 1.309 GB, free: 28 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.9941, allocations: 90.8 kB / 1.309 GB, free: 27.92 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9941, allocations: 4 kB / 1.309 GB, free: 27.92 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002264/0.9943, allocations: 12.25 kB / 1.309 GB, free: 27.91 MB / 1.061 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.0004096/0.9947, allocations: 0.7106 MB / 1.31 GB, free: 27.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.9949, allocations: 56.45 kB / 1.31 GB, free: 27.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9949, allocations: 0 / 1.31 GB, free: 27.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.995, allocations: 19.56 kB / 1.31 GB, free: 27.22 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.9953, allocations: 11.12 kB / 1.31 GB, free: 27.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.9965, allocations: 1.295 MB / 1.311 GB, free: 26.01 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.9966, allocations: 0.6808 MB / 1.312 GB, free: 25.31 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.186e-05/0.9966, allocations: 6.578 kB / 1.312 GB, free: 25.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.9967, allocations: 14.34 kB / 1.312 GB, free: 25.3 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.9967, allocations: 0 / 1.312 GB, free: 25.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/1.021, allocations: 1.71 MB / 1.313 GB, free: 24.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.951, allocations: 7.672 kB / 1.313 GB, free: 24.9 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --stepSize=0.0044 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_FallingFactorial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.53115139901638]