Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001399/0.001399, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001614/0.001614, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.46/1.46, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.909/2.909, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.975e-05/3.131e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003101/0.003133, allocations: 1.57 MB / 0.8123 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004271/0.00356, allocations: 128.5 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.003604, allocations: 0 / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.003638, allocations: 4.938 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.003692, allocations: 7.922 kB / 0.8125 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.004023, allocations: 39.83 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.12e-05/0.004114, allocations: 33.58 kB / 0.8125 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.004206, allocations: 8 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.004257, allocations: 19.97 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.004317, allocations: 15.92 kB / 0.8126 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.004332, allocations: 5.531 kB / 0.8126 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.004428, allocations: 27.95 kB / 0.8126 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.004443, allocations: 4 kB / 0.8126 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.004473, allocations: 11.98 kB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.004635, allocations: 61.08 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004637, allocations: 0 / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004638, allocations: 0 / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.004643, allocations: 0 / 0.8127 GB, free: 152 kB / 0.7605 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.0005433/0.005187, allocations: 271.8 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.005222, allocations: 12.03 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.005272, allocations: 4.938 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.005392, allocations: 110.4 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.005416, allocations: 4.375 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.005431, allocations: 4.969 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.005647, allocations: 67.55 kB / 0.8131 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.005656, allocations: 192 / 0.8131 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.005667, allocations: 4.312 kB / 0.8131 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.005672, allocations: 2.125 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.005888, allocations: 47.89 kB / 0.8132 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.006294, allocations: 216.5 kB / 0.8134 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.006638, allocations: 63.66 kB / 0.8135 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.006746, allocations: 25.47 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.006868, allocations: 16.55 kB / 0.8135 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.006899, allocations: 34.5 kB / 0.8135 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 3.156e-06/0.006902, allocations: 5.109 kB / 0.8135 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0004305/0.007333, allocations: 98.39 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.007379, allocations: 57.56 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.007475, allocations: 101.8 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.007494, allocations: 25.7 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.007554, allocations: 92.08 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.00757, allocations: 3.953 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.007615, allocations: 21.7 kB / 0.8139 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.007776, allocations: 315.4 kB / 0.8142 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.007875, allocations: 20.69 kB / 0.8142 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.007965, allocations: 20.48 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.008164, allocations: 46.41 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008166, allocations: 0 / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002443/0.00841, allocations: 82.36 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.008425, allocations: 4.938 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.00843, allocations: 256 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.008448, allocations: 0 / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.342e-05/0.008542, allocations: 21.14 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.008551, allocations: 3.984 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.008615, allocations: 12.89 kB / 0.8144 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.008623, allocations: 4 kB / 0.8144 GB, free: 14.21 MB / 0.7761 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.715e-05/0.008721, allocations: 112.2 kB / 0.8145 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.008755, allocations: 7.938 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.009053, allocations: 81.33 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.009055, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.009059, allocations: 7.375 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009062, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.009219, allocations: 105.3 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.00922, allocations: 4 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.0093, allocations: 11.92 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.009302, allocations: 4 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.009312, allocations: 3.938 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.009314, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009316, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.009623, allocations: 172.4 kB / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.009633, allocations: 4.5 kB / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.00965, allocations: 5.484 kB / 0.8149 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.009742, allocations: 11.98 kB / 0.8149 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.009801, allocations: 7.984 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.009806, allocations: 0.9375 kB / 0.8149 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.009863, allocations: 83.28 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009863, allocations: 0.5938 kB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002487/0.01011, allocations: 11.94 kB / 0.815 GB, free: 13.53 MB / 0.7761 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.0001656/0.01028, allocations: 108.8 kB / 0.8151 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.01052, allocations: 48.92 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01052, allocations: 0 / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.01063, allocations: 25.08 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.01091, allocations: 9.672 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003462/0.01125, allocations: 133 kB / 0.8154 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.01132, allocations: 63.94 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.01135, allocations: 9 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.01139, allocations: 9.438 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01139, allocations: 4 kB / 0.8154 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of Templates: time 0.003539/0.01493, allocations: 0.7813 MB / 0.8162 GB, free: 12.32 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.686342466971837]