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.00111/0.00111, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001096/0.001096, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 14.99 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.246/2.246, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 64.48 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2412, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002736/0.244, allocations: 1.53 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000362/0.2444, allocations: 140.4 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.2444, allocations: 0 / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.191e-05/0.2445, allocations: 7.922 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.2445, allocations: 3.938 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2448, allocations: 27.92 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.107e-05/0.2449, allocations: 39.91 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.245, allocations: 11.98 kB / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.2451, allocations: 19.92 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.2451, allocations: 15.92 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2452, allocations: 4 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-05/0.2452, allocations: 19.98 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.2453, allocations: 4 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.2453, allocations: 31.84 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2454, allocations: 39.89 kB / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2454, allocations: 0 / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2454, allocations: 0 / 0.953 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2455, allocations: 0 / 0.953 GB, free: 6.148 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005044/0.246, allocations: 355.4 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.246, allocations: 12.03 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.2461, allocations: 4.844 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.2462, allocations: 164.4 kB / 0.9535 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2462, allocations: 4.375 kB / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2463, allocations: 12.31 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.2465, allocations: 66.2 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.2465, allocations: 192 / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.2465, allocations: 3.938 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2465, allocations: 4 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.2467, allocations: 43.95 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.2471, allocations: 288.6 kB / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.2474, allocations: 54.55 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-05/0.2475, allocations: 28.89 kB / 0.954 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.2478, allocations: 397.5 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2478, allocations: 42.5 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.2478, allocations: 3.984 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003657/0.2482, allocations: 93.56 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.2482, allocations: 51.41 kB / 0.9545 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.2483, allocations: 118 kB / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2484, allocations: 25.7 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.2484, allocations: 84.14 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.2484, allocations: 15.84 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.2485, allocations: 17.7 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2486, allocations: 318.8 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.041e-05/0.2487, allocations: 19.97 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.2487, allocations: 15.98 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2489, allocations: 52.81 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2489, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000209/0.2491, allocations: 77.59 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.2492, allocations: 4 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2492, allocations: 0 / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2492, allocations: 0 / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.2493, allocations: 11.98 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2493, allocations: 4.062 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.2493, allocations: 11.98 kB / 0.9553 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2494, allocations: 4 kB / 0.9553 GB, free: 3.469 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: 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 6.814e-05/0.2494, allocations: 113.8 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.2495, allocations: 7.906 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.2497, allocations: 81.48 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2497, allocations: 0 / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2497, allocations: 8 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2498, allocations: 0 / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.2499, allocations: 169.7 kB / 0.9556 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2499, allocations: 3.984 kB / 0.9556 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.25, allocations: 8 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.25, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.25, allocations: 3.984 kB / 0.9556 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.25, allocations: 0 / 0.9556 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.25, allocations: 3.938 kB / 0.9556 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.2503, allocations: 171.5 kB / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.2503, allocations: 81.02 kB / 0.9559 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2504, allocations: 12.41 kB / 0.9559 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.2505, allocations: 8 kB / 0.9559 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.2505, allocations: 7.922 kB / 0.9559 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.2505, allocations: 4 kB / 0.9559 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.2506, allocations: 87.27 kB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2506, allocations: 4 kB / 0.956 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002318/0.2508, allocations: 11.98 kB / 0.956 GB, free: 2.594 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: 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.0001558/0.251, allocations: 107.2 kB / 0.9561 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.2512, allocations: 47.95 kB / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2512, allocations: 0 / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.2513, allocations: 31.97 kB / 0.9562 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2516, allocations: 15.75 kB / 0.9562 GB, free: 2.387 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.2519, allocations: 113.6 kB / 0.9563 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.2521, allocations: 0.6844 MB / 0.957 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.2522, allocations: 4 kB / 0.957 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.2522, allocations: 11.42 kB / 0.957 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2522, allocations: 8 kB / 0.957 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of Templates: time 0.002945/0.2552, allocations: 0.7533 MB / 0.9577 GB, free: 0.7695 MB / 0.7325 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 -s gbode -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