Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.00164, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.2 MB / 0.6646 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 59.91 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7779, allocations: 140.4 MB / 0.9496 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002813/0.7808, allocations: 1.525 MB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000436/0.7812, allocations: 125.6 kB / 0.9512 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.7813, allocations: 5.219 kB / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.7813, allocations: 3.938 kB / 0.9512 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.7814, allocations: 9.156 kB / 0.9512 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.7818, allocations: 40.11 kB / 0.9512 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.374e-05/0.7818, allocations: 31.05 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.782, allocations: 14.39 kB / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.782, allocations: 17.12 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.7821, allocations: 25.06 kB / 0.9513 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.7821, allocations: 7.781 kB / 0.9513 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.624e-05/0.7822, allocations: 18.39 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.7822, allocations: 9.297 kB / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.7823, allocations: 10.62 kB / 0.9514 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.7824, allocations: 47.7 kB / 0.9514 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7824, allocations: 0 / 0.9514 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7824, allocations: 0 / 0.9514 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.7824, allocations: 1.5 kB / 0.9514 GB, free: 7.633 MB / 0.7169 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.0004978/0.7829, allocations: 351.5 kB / 0.9518 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.783, allocations: 12.69 kB / 0.9518 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.783, allocations: 6.969 kB / 0.9518 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.719e-05/0.7831, allocations: 170.2 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.7832, allocations: 1.562 kB / 0.9519 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.7832, allocations: 11.55 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.7834, allocations: 59.11 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7834, allocations: 192 / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.7834, allocations: 9.25 kB / 0.952 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7834, allocations: 0 / 0.952 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.7836, allocations: 44.14 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.7839, allocations: 287.3 kB / 0.9523 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.7842, allocations: 58.41 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.7843, allocations: 29.47 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.7845, allocations: 399.6 kB / 0.9528 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.7845, allocations: 35.91 kB / 0.9528 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.7845, allocations: 0 / 0.9528 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003606/0.7849, allocations: 90.38 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.7849, allocations: 56.91 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.785, allocations: 115.4 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.785, allocations: 25.7 kB / 0.9531 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.7851, allocations: 89.45 kB / 0.9532 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.7851, allocations: 9.328 kB / 0.9532 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.7851, allocations: 13.84 kB / 0.9532 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.7852, allocations: 322.7 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.7852, allocations: 27.47 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.7853, allocations: 15.42 kB / 0.9536 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.7855, allocations: 46.75 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7855, allocations: 0 / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002034/0.7857, allocations: 72.94 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7857, allocations: 4.875 kB / 0.9537 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7857, allocations: 4 kB / 0.9537 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7858, allocations: 8.906 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.7858, allocations: 11.64 kB / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.7859, allocations: 0 / 0.9537 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.7859, allocations: 11.8 kB / 0.9537 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.7859, allocations: 1.906 kB / 0.9537 GB, free: 5.242 MB / 0.7169 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.965e-05/0.786, allocations: 116.4 kB / 0.9538 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.786, allocations: 5.188 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.7863, allocations: 84 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7863, allocations: 1.281 kB / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7863, allocations: 0 / 0.9539 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7863, allocations: 8.016 kB / 0.9539 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.7864, allocations: 169.2 kB / 0.9541 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.7864, allocations: 1.281 kB / 0.9541 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.011e-05/0.7865, allocations: 15.36 kB / 0.9541 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7865, allocations: 0 / 0.9541 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.7865, allocations: 5 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.7865, allocations: 0 / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7865, allocations: 1.125 kB / 0.9541 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.7868, allocations: 171.1 kB / 0.9543 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.7868, allocations: 86.12 kB / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.7868, allocations: 1.125 kB / 0.9543 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.7869, allocations: 7.438 kB / 0.9544 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.787, allocations: 7.203 kB / 0.9544 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.787, allocations: 5.125 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.787, allocations: 85.92 kB / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.787, allocations: 0 / 0.9544 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002199/0.7872, allocations: 12.31 kB / 0.9545 GB, free: 4.473 MB / 0.7169 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.0001522/0.7874, allocations: 111.2 kB / 0.9546 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.7876, allocations: 49.61 kB / 0.9546 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7876, allocations: 0 / 0.9546 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.7877, allocations: 23.91 kB / 0.9546 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.788, allocations: 9 kB / 0.9546 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.7883, allocations: 122.3 kB / 0.9548 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.7884, allocations: 0.6916 MB / 0.9554 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.7885, allocations: 7.719 kB / 0.9554 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.7885, allocations: 9.188 kB / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7885, allocations: 0 / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of Templates: time 0.002946/0.7915, allocations: 0.7675 MB / 0.9562 GB, free: 3.102 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches