Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0009529/0.0009529, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009153/0.0009153, allocations: 185 kB / 24.09 MB, free: 416 kB / 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 0.991/0.991, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.826/1.826, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0.7656 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.954e-05, allocations: 6.25 kB / 0.8121 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.004637/0.004666, allocations: 0.6107 MB / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002131/0.004879, allocations: 48.56 kB / 0.8127 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.0049, allocations: 1.594 kB / 0.8127 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.004932, allocations: 4 kB / 0.8127 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-06/0.004938, allocations: 0 / 0.8127 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.00519, allocations: 19.86 kB / 0.8127 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.00526, allocations: 37.34 kB / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.207e-05/0.005292, allocations: 4 kB / 0.8128 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.005332, allocations: 13.27 kB / 0.8128 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.388e-05/0.005356, allocations: 19.92 kB / 0.8128 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.00537, allocations: 3.984 kB / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.005452, allocations: 21.48 kB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.005472, allocations: 4 kB / 0.8128 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.005493, allocations: 11.97 kB / 0.8128 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.16e-05/0.005584, allocations: 43.83 kB / 0.8129 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005586, allocations: 1.719 kB / 0.8129 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.12e-07/0.005587, allocations: 0 / 0.8129 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.00559, allocations: 0 / 0.8129 GB, free: 0.5742 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002408/0.00583, allocations: 364.3 kB / 0.8132 GB, free: 184 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.005866, allocations: 13.78 kB / 0.8132 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.005895, allocations: 9.234 kB / 0.8132 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.591e-05/0.005951, allocations: 108.6 kB / 0.8134 GB, free: 28 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.005963, allocations: 8.375 kB / 0.8134 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.00597, allocations: 384 / 0.8134 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.433e-05/0.006065, allocations: 55.59 kB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.006072, allocations: 4.188 kB / 0.8134 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.006079, allocations: 384 / 0.8134 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.006083, allocations: 384 / 0.8134 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.006169, allocations: 85.7 kB / 0.8135 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.006273, allocations: 105.2 kB / 0.8136 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.513e-05/0.006338, allocations: 58.95 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.006364, allocations: 19.67 kB / 0.8137 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.006489, allocations: 27.91 kB / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.006511, allocations: 39.7 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.006512, allocations: 0 / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0001513/0.006663, allocations: 89.95 kB / 0.8138 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.006686, allocations: 55.34 kB / 0.8139 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.006731, allocations: 150.2 kB / 0.814 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.006741, allocations: 29.7 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.006771, allocations: 127.6 kB / 0.8142 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.006796, allocations: 27.78 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.006838, allocations: 39.88 kB / 0.8142 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.006944, allocations: 497.7 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.006962, allocations: 11.98 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.006978, allocations: 11.98 kB / 0.8147 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.007031, allocations: 44.2 kB / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007032, allocations: 0 / 0.8148 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.438e-05/0.007116, allocations: 78.27 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.007126, allocations: 5.25 kB / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.00713, allocations: 0 / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.007141, allocations: 0 / 0.8149 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.007395, allocations: 23.92 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.007398, allocations: 1.156 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.007414, allocations: 7.953 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.00742, allocations: 3.938 kB / 0.8149 GB, free: 14.33 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.923e-05/0.007489, allocations: 166 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.007502, allocations: 8 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.007635, allocations: 110.6 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.007638, allocations: 3.984 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007639, allocations: 0.5312 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.007642, allocations: 0 / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.185e-05/0.007713, allocations: 110 kB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.007715, allocations: 4 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.007757, allocations: 24.77 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.007761, allocations: 8 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.007765, allocations: 1.75 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007766, allocations: 0 / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007767, allocations: 0 / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.45e-05/0.007861, allocations: 116.3 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-06/0.007868, allocations: 7.984 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.007876, allocations: 0.8125 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.071e-05/0.007886, allocations: 7.938 kB / 0.8154 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.00791, allocations: 14.2 kB / 0.8154 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.007915, allocations: 4 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.589e-05/0.007941, allocations: 119.2 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007941, allocations: 0 / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001831/0.008124, allocations: 19.94 kB / 0.8156 GB, free: 13.57 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001099/0.008234, allocations: 113.2 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.168e-05/0.008316, allocations: 59.58 kB / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.62e-07/0.008317, allocations: 0 / 0.8157 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-05/0.008348, allocations: 27.67 kB / 0.8158 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.0001125/0.008461, allocations: 9.266 kB / 0.8158 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001774/0.008638, allocations: 134.7 kB / 0.8159 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.017e-05/0.008668, allocations: 64.69 kB / 0.816 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.92e-05/0.008698, allocations: 11.98 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.008737, allocations: 82.14 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of SimCode: time 3.61e-07/0.008737, allocations: 0.6875 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of Templates: time 0.002216/0.01095, allocations: 0.6913 MB / 0.8167 GB, free: 12.34 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.896620149258524]