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.001359/0.001359, allocations: 82.61 kB / 19.87 MB, free: 4.613 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.001528/0.001528, allocations: 173.1 kB / 23.28 MB, free: 1.215 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.9164/0.9164, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.611/2.611, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.424e-06/2.424e-06, allocations: 0 / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.439e-05, allocations: 5.125 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002129/0.002154, allocations: 1.582 MB / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003492/0.002503, allocations: 131.6 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.002554, allocations: 0 / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.002583, allocations: 3.938 kB / 0.8914 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.00264, allocations: 11.88 kB / 0.8914 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.002981, allocations: 35.83 kB / 0.8915 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.956e-05/0.00305, allocations: 35.92 kB / 0.8915 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.003153, allocations: 7.984 kB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.003205, allocations: 23.91 kB / 0.8915 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.003246, allocations: 15.98 kB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.003264, allocations: 4 kB / 0.8916 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.003357, allocations: 19.98 kB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.003373, allocations: 15.97 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.00339, allocations: 7.938 kB / 0.8916 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003514, allocations: 39.88 kB / 0.8916 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.003516, allocations: 4 kB / 0.8916 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003517, allocations: 0 / 0.8916 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.003522, allocations: 0 / 0.8916 GB, free: 7.777 MB / 0.8542 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.0003981/0.00392, allocations: 376.5 kB / 0.892 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.003968, allocations: 8.625 kB / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.004001, allocations: 8.938 kB / 0.892 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.456e-05/0.004095, allocations: 128.5 kB / 0.8921 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.004118, allocations: 384 / 0.8921 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.004128, allocations: 4.375 kB / 0.8921 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.004258, allocations: 70.92 kB / 0.8922 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004267, allocations: 192 / 0.8922 GB, free: 7.121 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.004276, allocations: 4.359 kB / 0.8922 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.004284, allocations: 4.359 kB / 0.8922 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.004311, allocations: 11.94 kB / 0.8922 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.004608, allocations: 256.3 kB / 0.8925 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.004765, allocations: 47.05 kB / 0.8925 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.004784, allocations: 11.75 kB / 0.8925 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.355e-05/0.004877, allocations: 19.92 kB / 0.8926 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.004905, allocations: 41.39 kB / 0.8926 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.004906, allocations: 0 / 0.8926 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001409/0.005047, allocations: 49.56 kB / 0.8926 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.005075, allocations: 51.41 kB / 0.8927 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.04e-05/0.005155, allocations: 169.9 kB / 0.8928 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.005169, allocations: 29.7 kB / 0.8929 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.005216, allocations: 126.9 kB / 0.893 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.005231, allocations: 7.953 kB / 0.893 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.005262, allocations: 27.34 kB / 0.893 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004719/0.005734, allocations: 496.1 kB / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.005746, allocations: 0 / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.758e-05/0.005763, allocations: 15.92 kB / 0.8935 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.005791, allocations: 15.69 kB / 0.8935 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.005793, allocations: 0 / 0.8935 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.001e-05/0.005853, allocations: 49.58 kB / 0.8936 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.005867, allocations: 7.938 kB / 0.8936 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.005872, allocations: 0 / 0.8936 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.005885, allocations: 4 kB / 0.8936 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.726e-05/0.005932, allocations: 15.98 kB / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.005935, allocations: 0 / 0.8936 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.005954, allocations: 4 kB / 0.8936 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.005958, allocations: 0 / 0.8936 GB, free: 5.555 MB / 0.8542 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.324e-05/0.006021, allocations: 156.6 kB / 0.8938 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.006034, allocations: 4 kB / 0.8938 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.243e-05/0.006117, allocations: 61.23 kB / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.006118, allocations: 0 / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.00612, allocations: 0 / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.006123, allocations: 4.375 kB / 0.8938 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.873e-05/0.006212, allocations: 105.2 kB / 0.8939 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006213, allocations: 256 / 0.8939 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.006236, allocations: 11.98 kB / 0.8939 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.006239, allocations: 4 kB / 0.8939 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.006244, allocations: 0 / 0.8939 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006245, allocations: 0 / 0.8939 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.006249, allocations: 11.92 kB / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.29e-05/0.006342, allocations: 195.8 kB / 0.8941 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.006346, allocations: 0 / 0.8941 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.006355, allocations: 4 kB / 0.8941 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.006385, allocations: 7.984 kB / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.006425, allocations: 7.938 kB / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.006427, allocations: 0 / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.006462, allocations: 135.2 kB / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.006462, allocations: 0 / 0.8943 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001397/0.006602, allocations: 8 kB / 0.8943 GB, free: 4.785 MB / 0.8542 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.0001192/0.006721, allocations: 99.25 kB / 0.8944 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.312e-05/0.006794, allocations: 19.67 kB / 0.8944 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.006796, allocations: 3.938 kB / 0.8944 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.00682, allocations: 27.61 kB / 0.8944 GB, free: 4.617 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.006988, allocations: 8 kB / 0.8944 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.007228, allocations: 126.1 kB / 0.8946 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.528e-05/0.007263, allocations: 59.34 kB / 0.8946 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.201e-05/0.007285, allocations: 4 kB / 0.8946 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.007331, allocations: 70.2 kB / 0.8947 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of SimCode: time 4.21e-07/0.007332, allocations: 4 kB / 0.8947 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of Templates: time 0.002548/0.00988, allocations: 0.8625 MB / 0.8955 GB, free: 3.441 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.718597932718694]