Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 112.7 kB / 16.37 MB, free: 6 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.001366/0.001366, allocations: 196 kB / 17.31 MB, free: 5.613 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.008/2.008, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 62.55 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2307, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001738/0.2325, allocations: 0.5937 MB / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.2328, allocations: 59.73 kB / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.2328, allocations: 0 / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.2329, allocations: 0 / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.2329, allocations: 0 / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.2332, allocations: 19.92 kB / 0.9518 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2333, allocations: 35.95 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.2334, allocations: 0 / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.2334, allocations: 8 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.105e-05/0.2334, allocations: 19.97 kB / 0.9518 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2335, allocations: 4 kB / 0.9519 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.135e-05/0.2336, allocations: 15.98 kB / 0.9519 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.2336, allocations: 8 kB / 0.9519 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.2336, allocations: 19.84 kB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2338, allocations: 35.89 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2338, allocations: 0 / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2338, allocations: 0 / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2338, allocations: 0 / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003592/0.2341, allocations: 339.5 kB / 0.9522 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.2342, allocations: 12.03 kB / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.2342, allocations: 0.9375 kB / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/0.2343, allocations: 176.2 kB / 0.9524 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2344, allocations: 384 / 0.9524 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.2344, allocations: 8.375 kB / 0.9524 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.2345, allocations: 62.17 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2345, allocations: 192 / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.2345, allocations: 7.938 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2345, allocations: 0 / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.2347, allocations: 103.9 kB / 0.9526 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.2348, allocations: 177.5 kB / 0.9528 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.2349, allocations: 78.47 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.235, allocations: 28.84 kB / 0.9529 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.2353, allocations: 401.5 kB / 0.9533 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.2353, allocations: 38.55 kB / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.2353, allocations: 0 / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0002242/0.2355, allocations: 125.8 kB / 0.9534 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.2356, allocations: 55.34 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.538e-05/0.2356, allocations: 93.77 kB / 0.9536 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.2356, allocations: 33.7 kB / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.2357, allocations: 80.14 kB / 0.9537 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.2357, allocations: 23.73 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.2358, allocations: 29.7 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.2359, allocations: 318.8 kB / 0.954 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.2359, allocations: 23.98 kB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.2359, allocations: 19.98 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.427e-05/0.236, allocations: 56.84 kB / 0.9541 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.236, allocations: 0 / 0.9541 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001292/0.2362, allocations: 98.16 kB / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2362, allocations: 4 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2362, allocations: 11.88 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.2362, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.2363, allocations: 16 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2363, allocations: 3.984 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.2364, allocations: 12 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.2364, allocations: 0 / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001244/0.2365, allocations: 121.8 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.2365, allocations: 7.906 kB / 0.9544 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.2367, allocations: 133.4 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2367, allocations: 0 / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2367, allocations: 0 / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2368, allocations: 4 kB / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.2369, allocations: 173.7 kB / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2369, allocations: 0 / 0.9547 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.504e-05/0.237, allocations: 16 kB / 0.9547 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.237, allocations: 3.938 kB / 0.9547 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.237, allocations: 7.984 kB / 0.9547 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.237, allocations: 4 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.237, allocations: 0 / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.2371, allocations: 120.9 kB / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.2372, allocations: 89.03 kB / 0.9549 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.2372, allocations: 4 kB / 0.9549 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.2372, allocations: 4 kB / 0.9549 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.2373, allocations: 7.984 kB / 0.9549 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.2373, allocations: 4 kB / 0.9549 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.306e-05/0.2373, allocations: 81.33 kB / 0.955 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2373, allocations: 0 / 0.955 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001914/0.2375, allocations: 16 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001554/0.2377, allocations: 115.2 kB / 0.9551 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.2378, allocations: 63.91 kB / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2378, allocations: 0 / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-05/0.2379, allocations: 35.92 kB / 0.9552 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.238, allocations: 4 kB / 0.9552 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.2383, allocations: 156.4 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.2385, allocations: 0.6844 MB / 0.956 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.854e-05/0.2386, allocations: 43.92 kB / 0.9561 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.2386, allocations: 15.44 kB / 0.9561 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2386, allocations: 0 / 0.9561 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of Templates: time 0.002453/0.241, allocations: 0.6024 MB / 0.9567 GB, free: 1.867 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches