Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.145/3.145, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.8776 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.577e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.371 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002989/0.003014, allocations: 1.557 MB / 0.8791 GB, free: 3.828 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003834/0.003398, allocations: 133.4 kB / 0.8792 GB, free: 3.699 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.003438, allocations: 4 kB / 0.8792 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.00347, allocations: 8.797 kB / 0.8793 GB, free: 3.688 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.031e-05/0.00352, allocations: 5.969 kB / 0.8793 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.003809, allocations: 29.45 kB / 0.8793 GB, free: 3.656 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.003893, allocations: 39.31 kB / 0.8793 GB, free: 3.621 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.003972, allocations: 7.938 kB / 0.8793 GB, free: 3.613 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.004021, allocations: 23.97 kB / 0.8794 GB, free: 3.59 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.027e-05/0.004072, allocations: 20.59 kB / 0.8794 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.004089, allocations: 5.344 kB / 0.8794 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.004172, allocations: 19.98 kB / 0.8794 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.00419, allocations: 11.92 kB / 0.8794 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.00422, allocations: 11.98 kB / 0.8794 GB, free: 3.523 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.004355, allocations: 48.67 kB / 0.8795 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004357, allocations: 0 / 0.8795 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004357, allocations: 0.6562 kB / 0.8795 GB, free: 3.477 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.004361, allocations: 0 / 0.8795 GB, free: 3.477 MB / 0.7917 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.0005048/0.004866, allocations: 274.9 kB / 0.8797 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.004902, allocations: 9.625 kB / 0.8797 GB, free: 3.168 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.00495, allocations: 12.89 kB / 0.8798 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.005072, allocations: 113.8 kB / 0.8799 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.005091, allocations: 384 / 0.8799 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.005104, allocations: 5.906 kB / 0.8799 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.005315, allocations: 62.17 kB / 0.8799 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.005322, allocations: 192 / 0.8799 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.005336, allocations: 12.3 kB / 0.8799 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.00534, allocations: 7.406 kB / 0.8799 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.005564, allocations: 43.89 kB / 0.88 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.006187, allocations: 212.5 kB / 0.8802 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.006538, allocations: 58.47 kB / 0.8802 GB, free: 2.586 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.006652, allocations: 25.59 kB / 0.8803 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.00678, allocations: 21.64 kB / 0.8803 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.00682, allocations: 42.48 kB / 0.8803 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.006821, allocations: 0 / 0.8803 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0004275/0.007249, allocations: 94.92 kB / 0.8804 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.007291, allocations: 51.41 kB / 0.8805 GB, free: 2.328 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.007392, allocations: 105.8 kB / 0.8806 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.007414, allocations: 29.7 kB / 0.8806 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.007489, allocations: 88.09 kB / 0.8807 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.007513, allocations: 19.94 kB / 0.8807 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.007552, allocations: 13.72 kB / 0.8807 GB, free: 2.051 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.007725, allocations: 314.8 kB / 0.881 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.007829, allocations: 23.97 kB / 0.881 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.007917, allocations: 15.98 kB / 0.8811 GB, free: 1.695 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.008106, allocations: 48.81 kB / 0.8811 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.008108, allocations: 0 / 0.8811 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002571/0.008365, allocations: 81.86 kB / 0.8812 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.008378, allocations: 4 kB / 0.8812 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.008382, allocations: 4 kB / 0.8812 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.008398, allocations: 0 / 0.8812 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.008487, allocations: 11.98 kB / 0.8812 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.008491, allocations: 0 / 0.8812 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.008555, allocations: 11.98 kB / 0.8812 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.008561, allocations: 0 / 0.8812 GB, free: 1.527 MB / 0.7917 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 0.0001001/0.008661, allocations: 121.8 kB / 0.8813 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.008694, allocations: 7.891 kB / 0.8813 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.008975, allocations: 81.33 kB / 0.8814 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.008977, allocations: 3.938 kB / 0.8814 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.00898, allocations: 0 / 0.8814 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.008983, allocations: 0 / 0.8814 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.009144, allocations: 117.3 kB / 0.8815 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.009145, allocations: 0 / 0.8815 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.009227, allocations: 12.23 kB / 0.8815 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.009229, allocations: 0 / 0.8815 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.009243, allocations: 11.92 kB / 0.8815 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.009245, allocations: 0 / 0.8815 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.009248, allocations: 4 kB / 0.8816 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.009563, allocations: 163.5 kB / 0.8817 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-06/0.009572, allocations: 3.953 kB / 0.8817 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.009587, allocations: 7.938 kB / 0.8817 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/0.009676, allocations: 7.984 kB / 0.8817 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.009729, allocations: 11.98 kB / 0.8817 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.009733, allocations: 0 / 0.8817 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.979e-05/0.009793, allocations: 87.22 kB / 0.8818 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.009793, allocations: 0 / 0.8818 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002349/0.01003, allocations: 12 kB / 0.8818 GB, free: 0.8203 MB / 0.7917 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.0001604/0.01019, allocations: 103.2 kB / 0.8819 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.01045, allocations: 47.95 kB / 0.882 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.01045, allocations: 4 kB / 0.882 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01056, allocations: 23.97 kB / 0.882 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.01084, allocations: 8.594 kB / 0.882 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.01118, allocations: 128.6 kB / 0.8821 GB, free: 488 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.829e-05/0.01126, allocations: 63.34 kB / 0.8822 GB, free: 404 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 3.798e-05/0.0113, allocations: 11.98 kB / 0.8822 GB, free: 392 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.01134, allocations: 16.48 kB / 0.8822 GB, free: 372 kB / 0.7917 GB Notification: Performance of SimCode: time 3.01e-07/0.01134, allocations: 0 / 0.8822 GB, free: 372 kB / 0.7917 GB Notification: Performance of Templates: time 0.003527/0.01487, allocations: 0.7943 MB / 0.883 GB, free: 15.58 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.86331364302896]