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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_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.001106/0.001106, allocations: 91.38 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.143/3.143, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003981, allocations: 12.81 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4794, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002258/0.4818, allocations: 1.243 MB / 1.059 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005567/0.4824, allocations: 123.7 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.4824, allocations: 4 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.4825, allocations: 3.984 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.937e-05/0.4826, allocations: 3.938 kB / 1.059 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.4829, allocations: 19.98 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.483, allocations: 35.91 kB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.4832, allocations: 15.98 kB / 1.059 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.4832, allocations: 7.938 kB / 1.059 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.4833, allocations: 15.92 kB / 1.059 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.4833, allocations: 4 kB / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.464e-05/0.4834, allocations: 15.98 kB / 1.059 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.4834, allocations: 7.922 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.4835, allocations: 25.7 kB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.4836, allocations: 27.94 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.4836, allocations: 7.938 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4836, allocations: 3.938 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.4837, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 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.0005875/0.4843, allocations: 355.5 kB / 1.06 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.4843, allocations: 8.031 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.4844, allocations: 7.906 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.4845, allocations: 159.1 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.4846, allocations: 4 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.4846, allocations: 7.953 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.4849, allocations: 69.66 kB / 1.06 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4849, allocations: 4 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4849, allocations: 0 / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4849, allocations: 0 / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.4851, allocations: 63.88 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.4857, allocations: 284.7 kB / 1.06 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.486, allocations: 58.55 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4861, allocations: 36.89 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/0.4865, allocations: 397.5 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4866, allocations: 34.5 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.4866, allocations: 0 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004283/0.487, allocations: 113.6 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.4871, allocations: 51.41 kB / 1.061 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.4872, allocations: 109.8 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.4872, allocations: 25.7 kB / 1.061 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.4872, allocations: 92.05 kB / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.4873, allocations: 0 / 1.061 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.4873, allocations: 4 kB / 1.061 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4874, allocations: 322.8 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.4875, allocations: 23.98 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.4876, allocations: 35.84 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.691e-05/0.4877, allocations: 23.98 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4877, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002232/0.4879, allocations: 89.56 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4879, allocations: 4 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.488, allocations: 0 / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.488, allocations: 3.984 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.836e-05/0.4881, allocations: 12 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4881, allocations: 0 / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.4881, allocations: 11.98 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.4882, allocations: 7.938 kB / 1.062 GB, free: 1.055 MB / 0.8106 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 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/0.4882, allocations: 117.8 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.4883, allocations: 336 / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.4886, allocations: 109.4 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4886, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4886, allocations: 4 kB / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4886, allocations: 0 / 1.062 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.4888, allocations: 169.6 kB / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4888, allocations: 0 / 1.062 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.4889, allocations: 15.98 kB / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4889, allocations: 0 / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.4889, allocations: 0 / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4889, allocations: 0 / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4889, allocations: 4 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.4892, allocations: 187.4 kB / 1.062 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.4892, allocations: 81.11 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.4892, allocations: 4 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.42e-05/0.4893, allocations: 11.98 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.4894, allocations: 4 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4894, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.4895, allocations: 87.27 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4895, allocations: 0 / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002485/0.4897, allocations: 15.91 kB / 1.063 GB, free: 160 kB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001836/0.4899, allocations: 107.3 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.4902, allocations: 52.03 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4902, allocations: 3.938 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.4903, allocations: 39.91 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.4906, allocations: 7.938 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.491, allocations: 136.5 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.4913, allocations: 0.6848 MB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.859e-05/0.4914, allocations: 4.547 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.4914, allocations: 11.44 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4914, allocations: 0 / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.003363/0.4948, allocations: 0.6415 MB / 1.064 GB, free: 14.41 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches