Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001641/0.001641, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001642/0.001642, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.491/1.491, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 1.057 GB, free: 1.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002808/0.3494, allocations: 1.541 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004067/0.3498, allocations: 136.4 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/0.3499, allocations: 0 / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.3499, allocations: 3.938 kB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.35, allocations: 7.938 kB / 1.216 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.3503, allocations: 39.89 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.916e-05/0.3503, allocations: 31.86 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3504, allocations: 11.98 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.3505, allocations: 15.98 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.3505, allocations: 23.91 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3505, allocations: 7.938 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.675e-05/0.3506, allocations: 19.98 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.3507, allocations: 8 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.3507, allocations: 15.92 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.3508, allocations: 47.75 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3508, allocations: 4 kB / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3508, allocations: 0 / 1.216 GB, free: 15 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3508, allocations: 0 / 1.216 GB, free: 15 MB / 0.9669 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.0005503/0.3514, allocations: 357.4 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3514, allocations: 12.03 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.3515, allocations: 0.9375 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3516, allocations: 172.3 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.3516, allocations: 4.312 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3517, allocations: 12.38 kB / 1.216 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.3519, allocations: 58.22 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3519, allocations: 192 / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3519, allocations: 7.938 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3519, allocations: 0 / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.3521, allocations: 43.95 kB / 1.217 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.3526, allocations: 284.8 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.3529, allocations: 54.53 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.353, allocations: 28.89 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.3533, allocations: 401.5 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3534, allocations: 30.56 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3534, allocations: 8 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004119/0.3538, allocations: 97.52 kB / 1.217 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.3538, allocations: 51.41 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.3539, allocations: 109.8 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3539, allocations: 25.7 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.354, allocations: 88.14 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.354, allocations: 3.953 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.354, allocations: 17.72 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3542, allocations: 330.6 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.3543, allocations: 19.98 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.3544, allocations: 19.97 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3545, allocations: 40.83 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3545, allocations: 4 kB / 1.218 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002283/0.3548, allocations: 85.81 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3548, allocations: 8 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3548, allocations: 48 / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3548, allocations: 3.984 kB / 1.218 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.3549, allocations: 11.98 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3549, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.355, allocations: 11.94 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.355, allocations: 7.984 kB / 1.218 GB, free: 12.32 MB / 0.9669 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 9.358e-05/0.3551, allocations: 117.8 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.3551, allocations: 0 / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.3554, allocations: 85.48 kB / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3554, allocations: 0 / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3554, allocations: 0 / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3554, allocations: 0 / 1.218 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.3556, allocations: 173.6 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3556, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.3557, allocations: 11.98 kB / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3557, allocations: 0 / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3557, allocations: 0 / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3557, allocations: 0 / 1.219 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3557, allocations: 4 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.356, allocations: 183.4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.356, allocations: 77.11 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.356, allocations: 0 / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.3561, allocations: 11.92 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.3562, allocations: 7.984 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.3562, allocations: 0 / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.3562, allocations: 87.28 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3562, allocations: 0 / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002299/0.3565, allocations: 12 kB / 1.219 GB, free: 11.46 MB / 0.9669 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.000174/0.3566, allocations: 111.2 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.3569, allocations: 39.95 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3569, allocations: 0 / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.357, allocations: 27.92 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3573, allocations: 15.92 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.3577, allocations: 151 kB / 1.219 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.358, allocations: 0.6807 MB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.358, allocations: 15.44 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of SimCode: time 3.11e-07/0.358, allocations: 0 / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of Templates: time 0.002819/0.3608, allocations: 0.8077 MB / 1.221 GB, free: 9.555 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.490460847038776]