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.001049/0.001049, allocations: 103.7 kB / 16.35 MB, free: 5.828 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.001038/0.001038, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.16 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.004/2.004, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 65.39 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2168, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002344/0.2191, allocations: 1.53 MB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003037/0.2195, allocations: 136.4 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.2195, allocations: 7.938 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2195, allocations: 3.938 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.147e-05/0.2196, allocations: 7.875 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.2198, allocations: 31.91 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.94e-05/0.2199, allocations: 31.97 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.22, allocations: 15.98 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.457e-05/0.22, allocations: 11.94 kB / 0.9528 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.2201, allocations: 27.86 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.2201, allocations: 4 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.314e-05/0.2201, allocations: 19.98 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.2202, allocations: 11.97 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.2202, allocations: 15.88 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2203, allocations: 47.86 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2203, allocations: 4 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2203, allocations: 0 / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.2203, allocations: 0 / 0.953 GB, free: 6.113 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.0003937/0.2207, allocations: 355.4 kB / 0.9533 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.2208, allocations: 8.031 kB / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.2208, allocations: 8.844 kB / 0.9533 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.474e-05/0.2209, allocations: 168.4 kB / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2209, allocations: 384 / 0.9535 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2209, allocations: 8.375 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.2211, allocations: 62.17 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.2211, allocations: 192 / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2211, allocations: 7.922 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.2211, allocations: 8 kB / 0.9536 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.2213, allocations: 43.95 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.2216, allocations: 276.7 kB / 0.9539 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.2219, allocations: 66.45 kB / 0.9539 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.222, allocations: 24.91 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.2222, allocations: 401.5 kB / 0.9543 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.2223, allocations: 34.55 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.245e-06/0.2223, allocations: 0 / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003205/0.2226, allocations: 93.58 kB / 0.9545 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.2226, allocations: 63.34 kB / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.2227, allocations: 109.8 kB / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.2227, allocations: 25.7 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.2228, allocations: 92.12 kB / 0.9547 GB, free: 4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.2228, allocations: 7.969 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.2228, allocations: 17.72 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.2229, allocations: 314.8 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.157e-05/0.223, allocations: 23.97 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.2231, allocations: 19.98 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.2232, allocations: 44.81 kB / 0.9551 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2232, allocations: 3.938 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001882/0.2234, allocations: 73.66 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.2234, allocations: 7.938 kB / 0.9552 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2234, allocations: 4 kB / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2234, allocations: 3.984 kB / 0.9552 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.2235, allocations: 8 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2235, allocations: 0 / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.2236, allocations: 7.984 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.2236, allocations: 4 kB / 0.9553 GB, free: 3.445 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.06e-05/0.2237, allocations: 115.8 kB / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.2237, allocations: 7.906 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.2239, allocations: 85.53 kB / 0.9555 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2239, allocations: 4 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.2239, allocations: 0 / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2239, allocations: 0 / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.2241, allocations: 169.6 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2241, allocations: 3.938 kB / 0.9556 GB, free: 3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.2242, allocations: 11.98 kB / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2242, allocations: 0 / 0.9556 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.2242, allocations: 4 kB / 0.9556 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2242, allocations: 4 kB / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2242, allocations: 0 / 0.9556 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2244, allocations: 179.8 kB / 0.9558 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.162e-05/0.2245, allocations: 88.95 kB / 0.9559 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.2245, allocations: 0 / 0.9559 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.2246, allocations: 7.984 kB / 0.9559 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.2246, allocations: 8 kB / 0.9559 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.2246, allocations: 4 kB / 0.9559 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.2247, allocations: 87.56 kB / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2247, allocations: 0 / 0.956 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002097/0.2249, allocations: 12 kB / 0.956 GB, free: 2.566 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.0001185/0.225, allocations: 111.2 kB / 0.9561 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.2252, allocations: 47.95 kB / 0.9562 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2252, allocations: 0 / 0.9562 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.2253, allocations: 27.97 kB / 0.9562 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.2255, allocations: 7.875 kB / 0.9562 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.2258, allocations: 117.6 kB / 0.9563 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.226, allocations: 0.6883 MB / 0.957 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.226, allocations: 8 kB / 0.957 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.226, allocations: 15.38 kB / 0.957 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.226, allocations: 0 / 0.957 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of Templates: time 0.002447/0.2285, allocations: 0.7588 MB / 0.9577 GB, free: 0.7344 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 cvode -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