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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008165/0.008165, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.002059/0.002059, allocations: 192.9 kB / 16.79 MB, free: 5.805 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6966/0.6982, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002373/0.7006, allocations: 1.585 MB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003595/0.701, allocations: 137.2 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.701, allocations: 0 / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.7011, allocations: 1.219 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.7011, allocations: 0 / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.7013, allocations: 35.59 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.096e-05/0.7014, allocations: 29.77 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.7015, allocations: 18.73 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.7015, allocations: 11.69 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.687e-05/0.7016, allocations: 21.97 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.7016, allocations: 2.75 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.642e-05/0.7017, allocations: 16.11 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.7017, allocations: 5.234 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.7017, allocations: 15.47 kB / 0.9514 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.7018, allocations: 36.09 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7018, allocations: 0 / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.11e-07/0.7018, allocations: 1.469 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.7019, allocations: 0 / 0.9514 GB, free: 7.66 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.0003985/0.7023, allocations: 351.4 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.7023, allocations: 12.97 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.7023, allocations: 6.938 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/0.7024, allocations: 170.4 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.7024, allocations: 1.344 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.7025, allocations: 6.531 kB / 0.952 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.7026, allocations: 72.38 kB / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.7027, allocations: 4.172 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7027, allocations: 3.938 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.7027, allocations: 1.438 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.7029, allocations: 44.17 kB / 0.9521 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.7032, allocations: 279.3 kB / 0.9524 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.7036, allocations: 62.47 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-05/0.7037, allocations: 28.75 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.7038, allocations: 399.7 kB / 0.9528 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.7039, allocations: 36.25 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.7039, allocations: 0 / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003741/0.7043, allocations: 90.23 kB / 0.9529 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.722e-05/0.7043, allocations: 59.33 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.826e-05/0.7043, allocations: 111.7 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.7044, allocations: 31.11 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.7044, allocations: 89.56 kB / 0.9532 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.7044, allocations: 9.266 kB / 0.9532 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.7045, allocations: 16.5 kB / 0.9532 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.7045, allocations: 324.2 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.7046, allocations: 15.33 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.989e-05/0.7047, allocations: 23.41 kB / 0.9536 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.7049, allocations: 47.05 kB / 0.9536 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7049, allocations: 0 / 0.9536 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002031/0.7051, allocations: 79.98 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7051, allocations: 5.969 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.7051, allocations: 0 / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7051, allocations: 0 / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.7052, allocations: 11.27 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7052, allocations: 1.344 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.7053, allocations: 15.62 kB / 0.9537 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.7053, allocations: 1.469 kB / 0.9537 GB, free: 5.262 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.393e-05/0.7053, allocations: 116.2 kB / 0.9539 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.7054, allocations: 5.156 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.7056, allocations: 84.55 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7056, allocations: 0 / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7056, allocations: 9.781 kB / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7057, allocations: 0 / 0.954 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.7058, allocations: 173.1 kB / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.7058, allocations: 0 / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.7059, allocations: 11.61 kB / 0.9541 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7059, allocations: 3.984 kB / 0.9541 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.7059, allocations: 5.156 kB / 0.9541 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7059, allocations: 0 / 0.9541 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7059, allocations: 1.188 kB / 0.9541 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.7061, allocations: 175.8 kB / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.7062, allocations: 82.05 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.7062, allocations: 1.188 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.7063, allocations: 7.422 kB / 0.9544 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.7063, allocations: 10.02 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.7063, allocations: 1.094 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.7064, allocations: 86.12 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7064, allocations: 7.938 kB / 0.9545 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002284/0.7066, allocations: 8.719 kB / 0.9545 GB, free: 4.484 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.0001337/0.7068, allocations: 103.6 kB / 0.9546 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.707, allocations: 45.27 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.707, allocations: 0 / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.654e-05/0.7071, allocations: 22.98 kB / 0.9547 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.7074, allocations: 14.23 kB / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.7077, allocations: 158.1 kB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.7078, allocations: 0.6795 MB / 0.9555 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.7078, allocations: 9.875 kB / 0.9555 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7078, allocations: 5.062 kB / 0.9555 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of Templates: time 0.00216/0.71, allocations: 0.789 MB / 0.9563 GB, free: 3.09 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches