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.0007855/0.0007855, 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.000861/0.000861, 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.8811/0.8811, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.667/1.667, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.777e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002669/0.002687, allocations: 1.55 MB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000378/0.003065, allocations: 139.5 kB / 0.9522 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.003105, allocations: 0 / 0.9522 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.003139, allocations: 3.938 kB / 0.9522 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.003188, allocations: 7.922 kB / 0.9522 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.003528, allocations: 27.92 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.587e-05/0.003613, allocations: 39.89 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.003718, allocations: 8 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.218e-05/0.003771, allocations: 19.92 kB / 0.9523 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.003816, allocations: 15.97 kB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.003833, allocations: 4 kB / 0.9523 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.003927, allocations: 31.91 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.00394, allocations: 4 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.003966, allocations: 15.92 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.004119, allocations: 47.92 kB / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004121, allocations: 0 / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.122e-06/0.004122, allocations: 0 / 0.9524 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004127, allocations: 3.938 kB / 0.9524 GB, free: 1.57 MB / 0.9011 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.0006093/0.004736, allocations: 278.2 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.004781, allocations: 12.03 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.004821, allocations: 30.75 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.004853, allocations: 8.938 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.004969, allocations: 125.6 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.004995, allocations: 4.375 kB / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.005007, allocations: 384 / 0.9528 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.005206, allocations: 62.23 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.005216, allocations: 192 / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.005227, allocations: 384 / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005233, allocations: 4.125 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.005405, allocations: 47.95 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.005828, allocations: 243.9 kB / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.006146, allocations: 54.55 kB / 0.9532 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.842e-05/0.006234, allocations: 29.42 kB / 0.9532 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.006373, allocations: 19.98 kB / 0.9533 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.006392, allocations: 30.56 kB / 0.9533 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.006394, allocations: 0 / 0.9533 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003568/0.006751, allocations: 105.5 kB / 0.9534 GB, free: 404 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.006784, allocations: 55.39 kB / 0.9534 GB, free: 336 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.006863, allocations: 105.8 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.006876, allocations: 25.7 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.006922, allocations: 88.14 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.006939, allocations: 7.891 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.006975, allocations: 17.72 kB / 0.9537 GB, free: 64 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.007084, allocations: 314.8 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-05/0.007166, allocations: 27.98 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.589e-05/0.007232, allocations: 23.97 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.007376, allocations: 48.7 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007379, allocations: 4 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001938/0.007572, allocations: 77.53 kB / 0.9541 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.007587, allocations: 8 kB / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007592, allocations: 0 / 0.9541 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.007604, allocations: 4 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/0.007672, allocations: 11.98 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.007676, allocations: 320 / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.007722, allocations: 8 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.007727, allocations: 0 / 0.9542 GB, free: 15.53 MB / 0.9167 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.399e-05/0.007801, allocations: 113.8 kB / 0.9543 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.007827, allocations: 3.938 kB / 0.9543 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.008063, allocations: 97.56 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.008065, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.008069, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.008071, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.008216, allocations: 136.8 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008217, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.377e-05/0.008281, allocations: 15.92 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.008286, allocations: 4 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.008294, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.008296, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008297, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.008516, allocations: 183.7 kB / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.008527, allocations: 8 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.00854, allocations: 48 / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.008618, allocations: 11.97 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.008666, allocations: 3.984 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.008672, allocations: 4 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.383e-05/0.008736, allocations: 83.28 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/0.008736, allocations: 0 / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001642/0.008901, allocations: 8 kB / 0.9548 GB, free: 14.79 MB / 0.9167 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.0003752/0.009276, allocations: 0.7201 MB / 0.9555 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.009409, allocations: 47.89 kB / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.00941, allocations: 0 / 0.9556 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.009456, allocations: 27.91 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.009651, allocations: 14.34 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008655/0.01052, allocations: 1.288 MB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.834e-05/0.01055, allocations: 63.34 kB / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.288e-05/0.01058, allocations: 8 kB / 0.9569 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.01061, allocations: 20.48 kB / 0.957 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of SimCode: time 8.51e-07/0.01061, allocations: 0 / 0.957 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.02481, allocations: 2.374 MB / 0.9593 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/6.91, allocations: 9.375 kB / 0.9593 GB, free: 10.23 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv. Warning: Get data of variable falFac.y from file Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.017983944155276]