Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.113 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 68.12 kB / 1.107 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.939/0.9411, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002904/0.944, allocations: 1.557 MB / 1.273 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003992/0.9444, allocations: 140.3 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.9445, allocations: 0.9375 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.9445, allocations: 4.594 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.9446, allocations: 5.906 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.9449, allocations: 35.88 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.945, allocations: 30.73 kB / 1.274 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.9451, allocations: 14.92 kB / 1.274 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.792e-05/0.9451, allocations: 19.84 kB / 1.274 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.9451, allocations: 17.58 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.9452, allocations: 3.938 kB / 1.274 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.9452, allocations: 19.53 kB / 1.274 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.9452, allocations: 6.125 kB / 1.274 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.9453, allocations: 20.66 kB / 1.274 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.9454, allocations: 49.55 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9454, allocations: 4 kB / 1.274 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9454, allocations: 0 / 1.274 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9454, allocations: 0.8125 kB / 1.274 GB, free: 6.629 MB / 0.9981 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.0004218/0.9458, allocations: 352 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.9459, allocations: 9.438 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.9459, allocations: 3.438 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.85e-05/0.946, allocations: 170.2 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.946, allocations: 5.438 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.946, allocations: 2.938 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.9462, allocations: 73.75 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.9462, allocations: 1.031 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.9463, allocations: 4.781 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.9463, allocations: 0.8125 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.9464, allocations: 46.36 kB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.9468, allocations: 282.5 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.9471, allocations: 60.23 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.9472, allocations: 27.39 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.9474, allocations: 400.6 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.9474, allocations: 31.62 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.9474, allocations: 4 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0003734/0.9478, allocations: 98.36 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.9478, allocations: 52.38 kB / 1.275 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.012e-05/0.9479, allocations: 106.9 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.9479, allocations: 26.3 kB / 1.276 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.9479, allocations: 90.08 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.9479, allocations: 6.203 kB / 1.276 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.948, allocations: 23.03 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.469e-05/0.948, allocations: 317.6 kB / 1.276 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.14e-05/0.9481, allocations: 19.38 kB / 1.276 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.9482, allocations: 21.75 kB / 1.276 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.9484, allocations: 41.42 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9484, allocations: 5.062 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001996/0.9486, allocations: 80.5 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.9486, allocations: 7.766 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.9486, allocations: 0.8438 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9486, allocations: 0 / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.9487, allocations: 16.08 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.9487, allocations: 0 / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.9487, allocations: 6.547 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.9487, allocations: 6.031 kB / 1.276 GB, free: 4.387 MB / 0.9981 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.038e-05/0.9488, allocations: 117.8 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.9488, allocations: 5.594 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.9491, allocations: 88.52 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.9491, allocations: 1.469 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.9491, allocations: 0 / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9491, allocations: 1.094 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.9492, allocations: 176.5 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.9492, allocations: 0.5625 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.9493, allocations: 10.75 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.9493, allocations: 4.688 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.9493, allocations: 1.844 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9493, allocations: 0.6562 kB / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9493, allocations: 0 / 1.277 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.9495, allocations: 182.2 kB / 1.277 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.9495, allocations: 79.78 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.9496, allocations: 0.8125 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.9496, allocations: 5.844 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.9497, allocations: 13.8 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.9497, allocations: 3.203 kB / 1.277 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.9497, allocations: 85.34 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9497, allocations: 0.8438 kB / 1.277 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002299/0.95, allocations: 21.58 kB / 1.277 GB, free: 3.648 MB / 0.9981 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.0001439/0.9501, allocations: 100.8 kB / 1.277 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.9503, allocations: 46.75 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9503, allocations: 0.7188 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.9504, allocations: 25.03 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.9507, allocations: 10.38 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.951, allocations: 130 kB / 1.277 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.9511, allocations: 0.6796 MB / 1.278 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.9512, allocations: 8.266 kB / 1.278 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.9512, allocations: 11.58 kB / 1.278 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.9512, allocations: 0 / 1.278 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of Templates: time 0.003489/0.9547, allocations: 0.7782 MB / 1.279 GB, free: 2.633 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.890105283819139]