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.0009729/0.0009729, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001467/0.001467, allocations: 169 kB / 24.06 MB, free: 456 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.9625/0.9625, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 2.138/2.138, allocations: 429.5 MB / 0.6743 GB, free: 3.93 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.535e-06/2.535e-06, allocations: 4 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.257e-05, allocations: 3.188 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002041/0.002063, allocations: 1.607 MB / 0.881 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002901/0.002353, allocations: 136.1 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.002391, allocations: 4 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.002418, allocations: 5.281 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.002463, allocations: 2.625 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.002728, allocations: 35.83 kB / 0.8811 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.002791, allocations: 37.58 kB / 0.8812 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.002872, allocations: 11.98 kB / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.002912, allocations: 24.56 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/0.002944, allocations: 11.98 kB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.002958, allocations: 5.594 kB / 0.8812 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.199e-05/0.00303, allocations: 23.97 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.003045, allocations: 11.92 kB / 0.8813 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.00306, allocations: 8 kB / 0.8813 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003164, allocations: 50.09 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003166, allocations: 0 / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003166, allocations: 0 / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.00317, allocations: 0 / 0.8813 GB, free: 4.086 MB / 0.8386 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.000318/0.003488, allocations: 376.5 kB / 0.8817 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.003519, allocations: 8.031 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.003547, allocations: 11.14 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.512e-05/0.003622, allocations: 116.6 kB / 0.8818 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.003638, allocations: 384 / 0.8818 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.003647, allocations: 8.375 kB / 0.8818 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.003753, allocations: 58.94 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.003759, allocations: 192 / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.003765, allocations: 1.094 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.003771, allocations: 384 / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.855e-05/0.0038, allocations: 25.2 kB / 0.8819 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.004036, allocations: 252.3 kB / 0.8821 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.004171, allocations: 43.05 kB / 0.8822 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.004193, allocations: 11.75 kB / 0.8822 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.37e-05/0.004266, allocations: 15.98 kB / 0.8822 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.004287, allocations: 41.33 kB / 0.8822 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.004287, allocations: 0 / 0.8822 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001194/0.004407, allocations: 49.62 kB / 0.8823 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.004431, allocations: 51.41 kB / 0.8823 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.004491, allocations: 169.9 kB / 0.8825 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.0045, allocations: 25.7 kB / 0.8825 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.00454, allocations: 130.8 kB / 0.8826 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.004554, allocations: 15.94 kB / 0.8827 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.004584, allocations: 27.36 kB / 0.8827 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.004685, allocations: 492.1 kB / 0.8832 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.004696, allocations: 4 kB / 0.8832 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.004708, allocations: 7.922 kB / 0.8832 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.00474, allocations: 23.94 kB / 0.8832 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.004742, allocations: 0 / 0.8832 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.706e-05/0.004799, allocations: 45.69 kB / 0.8832 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.004811, allocations: 7.938 kB / 0.8832 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.004814, allocations: 0 / 0.8832 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.004822, allocations: 4 kB / 0.8832 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.06e-05/0.004862, allocations: 11.98 kB / 0.8833 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-06/0.004864, allocations: 0 / 0.8833 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.004885, allocations: 7.953 kB / 0.8833 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.004889, allocations: 256 / 0.8833 GB, free: 1.887 MB / 0.8386 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 6.093e-05/0.00495, allocations: 160.5 kB / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.004966, allocations: 0 / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/0.005046, allocations: 61.3 kB / 0.8835 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005047, allocations: 0 / 0.8835 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.00505, allocations: 4 kB / 0.8835 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.005053, allocations: 4 kB / 0.8835 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.121e-05/0.005144, allocations: 97.25 kB / 0.8836 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.005145, allocations: 4 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.005172, allocations: 4 kB / 0.8836 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005173, allocations: 0 / 0.8836 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-06/0.005179, allocations: 3.984 kB / 0.8836 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.00518, allocations: 4 kB / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.005182, allocations: 3.938 kB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.00541, allocations: 195.9 kB / 0.8838 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.005417, allocations: 7.891 kB / 0.8838 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.005426, allocations: 8 kB / 0.8838 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.19e-05/0.005458, allocations: 0 / 0.8838 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.005493, allocations: 19.86 kB / 0.8838 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.005496, allocations: 0 / 0.8838 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.198e-05/0.005528, allocations: 127.2 kB / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005528, allocations: 0 / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001563/0.005684, allocations: 8 kB / 0.8839 GB, free: 1.121 MB / 0.8386 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 9.549e-05/0.005779, allocations: 99.25 kB / 0.884 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.851e-05/0.005848, allocations: 31.61 kB / 0.8841 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.005849, allocations: 4 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.271e-05/0.005872, allocations: 19.67 kB / 0.8841 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.006039, allocations: 7.938 kB / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002034/0.006243, allocations: 126.5 kB / 0.8842 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.88e-05/0.006271, allocations: 55.34 kB / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.006291, allocations: 4 kB / 0.8843 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.006334, allocations: 70.2 kB / 0.8843 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.006334, allocations: 4 kB / 0.8843 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of Templates: time 0.002288/0.008623, allocations: 0.874 MB / 0.8852 GB, free: 15.78 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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: 5.196520016063005]