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.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.001357/0.001357, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001401/0.001401, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.512/2.512, allocations: 476.7 MB / 0.7628 GB, free: 15.28 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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 0.001793/0.001793, allocations: 63.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7686, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002193/0.7708, allocations: 1.56 MB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.7712, allocations: 133.5 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.7712, allocations: 1.062 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.7712, allocations: 4.594 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.7713, allocations: 6.844 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.7715, allocations: 32.12 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.7716, allocations: 36.89 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.668e-05/0.7717, allocations: 18.81 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.7717, allocations: 15.91 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.7717, allocations: 17.28 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.7717, allocations: 7.219 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.592e-05/0.7718, allocations: 19.06 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.7718, allocations: 11.03 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.7719, allocations: 21.58 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.772, allocations: 42.73 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.772, allocations: 0 / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.772, allocations: 0.8125 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.772, allocations: 4 kB / 1.273 GB, free: 6.434 MB / 0.9981 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.0003655/0.7724, allocations: 351.9 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.7724, allocations: 9.5 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.7724, allocations: 33.36 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.7724, allocations: 2.688 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.417e-05/0.7725, allocations: 172.2 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.7725, allocations: 6 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.7726, allocations: 2.531 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.7727, allocations: 70.36 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.7727, allocations: 3.938 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.7728, allocations: 1.641 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.7728, allocations: 0.75 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.7729, allocations: 44.11 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002904/0.7732, allocations: 281.5 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.7735, allocations: 63.39 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.7736, allocations: 25.28 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.7738, allocations: 402.5 kB / 1.275 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.7738, allocations: 31.53 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.7738, allocations: 0 / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003509/0.7741, allocations: 97.91 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.578e-05/0.7742, allocations: 60.06 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.281e-05/0.7742, allocations: 111.4 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.7742, allocations: 25.7 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.7742, allocations: 87.86 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.7743, allocations: 4.859 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.7743, allocations: 23.72 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.7743, allocations: 316.5 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.7744, allocations: 21.84 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.7745, allocations: 19.11 kB / 1.275 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.7747, allocations: 41.89 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.7747, allocations: 0 / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001968/0.7748, allocations: 87.66 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.7749, allocations: 4.75 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.7749, allocations: 0.6875 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.7749, allocations: 0.8438 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.775, allocations: 10.75 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.775, allocations: 0.9688 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.775, allocations: 6.844 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.775, allocations: 1.031 kB / 1.276 GB, free: 4.156 MB / 0.9981 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 4.634e-05/0.7751, allocations: 120.6 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.7751, allocations: 2.703 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.7753, allocations: 88.88 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.7753, allocations: 0.9375 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7753, allocations: 3.938 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.7753, allocations: 0.625 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.7754, allocations: 174.9 kB / 1.276 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7754, allocations: 4 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.968e-05/0.7755, allocations: 15.33 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.7755, allocations: 0.9688 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.7755, allocations: 0 / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.7755, allocations: 4.969 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7755, allocations: 0 / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.7757, allocations: 179.2 kB / 1.276 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.7757, allocations: 78.05 kB / 1.276 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.7758, allocations: 2.469 kB / 1.276 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-05/0.7758, allocations: 5.141 kB / 1.276 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.7759, allocations: 9.234 kB / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.7759, allocations: 1 kB / 1.276 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.7759, allocations: 88.59 kB / 1.276 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7759, allocations: 3.938 kB / 1.276 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002182/0.7761, allocations: 15.89 kB / 1.276 GB, free: 3.418 MB / 0.9981 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.0003964/0.7765, allocations: 0.7164 MB / 1.277 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.7767, allocations: 41.31 kB / 1.277 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7767, allocations: 4.969 kB / 1.277 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.7768, allocations: 30.3 kB / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.7771, allocations: 2.344 kB / 1.277 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.7783, allocations: 1.288 MB / 1.278 GB, free: 17.53 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.7786, allocations: 0.6822 MB / 1.279 GB, free: 16.83 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.7786, allocations: 4.672 kB / 1.279 GB, free: 16.83 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.7787, allocations: 16.59 kB / 1.279 GB, free: 16.82 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.7787, allocations: 0.7812 kB / 1.279 GB, free: 16.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.8015, allocations: 1.694 MB / 1.281 GB, free: 16.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/7.776, allocations: 4.391 kB / 1.281 GB, free: 16.43 MB / 1.014 GB " [Timeout remaining time 292] (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 --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] "" Variables in the reference:time,falFac.y Variables in the result:falFac.k,falFac.n,falFac.y,k.duration,k.height,k.offset,k.startTime,k.y,n.k,n.y,rea2Int.u,rea2Int.y,time [Calling sys.exit(0), Time elapsed: 13.048565472001428]