Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001321/0.001321, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.001071/0.001071, allocations: 169 kB / 23.82 MB, free: 0.7539 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 0.9614/0.9614, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.885/1.885, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/3.853e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.004537/0.004576, allocations: 1.594 MB / 0.7886 GB, free: 9.777 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004881/0.005064, allocations: 140.4 kB / 0.7888 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.379e-05/0.005118, allocations: 0 / 0.7888 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.00516, allocations: 3.938 kB / 0.7888 GB, free: 9.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.005215, allocations: 4.828 kB / 0.7888 GB, free: 9.633 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.005635, allocations: 35.84 kB / 0.7888 GB, free: 9.598 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.352e-05/0.005729, allocations: 36.42 kB / 0.7889 GB, free: 9.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005847, allocations: 17.12 kB / 0.7889 GB, free: 9.547 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.432e-05/0.005911, allocations: 15.98 kB / 0.7889 GB, free: 9.531 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.005967, allocations: 15.92 kB / 0.7889 GB, free: 9.516 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.005988, allocations: 4.562 kB / 0.7889 GB, free: 9.512 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.006106, allocations: 27.95 kB / 0.7889 GB, free: 9.484 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.006124, allocations: 4.938 kB / 0.7889 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.006156, allocations: 8 kB / 0.7889 GB, free: 9.473 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.006346, allocations: 52.78 kB / 0.789 GB, free: 9.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.006351, allocations: 0 / 0.789 GB, free: 9.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.006353, allocations: 0 / 0.789 GB, free: 9.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.00636, allocations: 0.6562 kB / 0.789 GB, free: 9.422 MB / 0.698 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.0005015/0.006862, allocations: 373.8 kB / 0.7894 GB, free: 9.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.006912, allocations: 12.03 kB / 0.7894 GB, free: 9.008 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.006966, allocations: 0.9375 kB / 0.7894 GB, free: 9.008 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.007084, allocations: 120.6 kB / 0.7895 GB, free: 8.863 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.00711, allocations: 7.781 kB / 0.7895 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.007125, allocations: 384 / 0.7895 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.007324, allocations: 74.89 kB / 0.7896 GB, free: 8.777 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.007336, allocations: 4.188 kB / 0.7896 GB, free: 8.773 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.007349, allocations: 384 / 0.7896 GB, free: 8.773 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.007359, allocations: 384 / 0.7896 GB, free: 8.773 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.547e-05/0.007425, allocations: 23.86 kB / 0.7896 GB, free: 8.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.007868, allocations: 275.7 kB / 0.7899 GB, free: 8.445 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.008147, allocations: 43.92 kB / 0.7899 GB, free: 8.391 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.008185, allocations: 15.62 kB / 0.7899 GB, free: 8.371 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.008336, allocations: 16.58 kB / 0.7899 GB, free: 8.355 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.008366, allocations: 38.83 kB / 0.79 GB, free: 8.309 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.008368, allocations: 0 / 0.79 GB, free: 8.309 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002257/0.008593, allocations: 57.62 kB / 0.79 GB, free: 8.246 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.008626, allocations: 51.41 kB / 0.7901 GB, free: 8.184 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.00873, allocations: 162.6 kB / 0.7902 GB, free: 8.008 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.008746, allocations: 29.7 kB / 0.7903 GB, free: 7.973 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.008812, allocations: 132 kB / 0.7904 GB, free: 7.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.00883, allocations: 3.953 kB / 0.7904 GB, free: 7.836 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.008876, allocations: 27.38 kB / 0.7904 GB, free: 7.801 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.009023, allocations: 0.4891 MB / 0.7909 GB, free: 7.301 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.009052, allocations: 8 kB / 0.7909 GB, free: 7.293 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.009069, allocations: 0.7188 kB / 0.7909 GB, free: 7.293 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.086e-05/0.00913, allocations: 20.95 kB / 0.7909 GB, free: 7.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.009133, allocations: 0 / 0.7909 GB, free: 7.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001108/0.009244, allocations: 49.59 kB / 0.791 GB, free: 7.215 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.009265, allocations: 11.98 kB / 0.791 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.009271, allocations: 0.5625 kB / 0.791 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.009293, allocations: 1.375 kB / 0.791 GB, free: 7.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.009377, allocations: 11.94 kB / 0.791 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.009384, allocations: 0 / 0.791 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.00942, allocations: 1.531 kB / 0.791 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.009431, allocations: 7.984 kB / 0.791 GB, free: 7.184 MB / 0.698 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.262e-05/0.009523, allocations: 156.6 kB / 0.7911 GB, free: 7.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.009558, allocations: 7.938 kB / 0.7912 GB, free: 7.012 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.009717, allocations: 49.89 kB / 0.7912 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.00972, allocations: 5.406 kB / 0.7912 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.009724, allocations: 3.938 kB / 0.7912 GB, free: 6.945 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.009728, allocations: 0 / 0.7912 GB, free: 6.945 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.00988, allocations: 116.6 kB / 0.7913 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.009882, allocations: 4.625 kB / 0.7913 GB, free: 6.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.009947, allocations: 6.219 kB / 0.7913 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.00995, allocations: 384 / 0.7913 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.009962, allocations: 7.938 kB / 0.7913 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.009967, allocations: 7.938 kB / 0.7913 GB, free: 6.773 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.009969, allocations: 3.984 kB / 0.7913 GB, free: 6.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.01014, allocations: 200.4 kB / 0.7915 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.01015, allocations: 4 kB / 0.7915 GB, free: 6.551 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.01016, allocations: 4.656 kB / 0.7915 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.01024, allocations: 1.344 kB / 0.7915 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.0103, allocations: 11.98 kB / 0.7916 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.0103, allocations: 0 / 0.7916 GB, free: 6.535 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.027e-05/0.01035, allocations: 127.2 kB / 0.7917 GB, free: 6.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01035, allocations: 0.5 kB / 0.7917 GB, free: 6.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002407/0.01059, allocations: 12.97 kB / 0.7917 GB, free: 6.398 MB / 0.698 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.0001848/0.01078, allocations: 99.25 kB / 0.7918 GB, free: 6.293 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.0109, allocations: 32.52 kB / 0.7918 GB, free: 6.258 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.0109, allocations: 0 / 0.7918 GB, free: 6.258 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-05/0.01094, allocations: 16.53 kB / 0.7918 GB, free: 6.238 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.01121, allocations: 18.14 kB / 0.7919 GB, free: 6.223 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.01159, allocations: 126.4 kB / 0.792 GB, free: 6.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.01163, allocations: 55.34 kB / 0.792 GB, free: 5.996 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.01166, allocations: 6.688 kB / 0.792 GB, free: 5.992 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.0117, allocations: 12.5 kB / 0.792 GB, free: 5.98 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.0117, allocations: 0 / 0.792 GB, free: 5.98 MB / 0.698 GB Notification: Performance of Templates: time 0.003498/0.0152, allocations: 0.7862 MB / 0.7928 GB, free: 5.23 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.125909378752112]