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.001003/0.001003, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001154/0.001154, allocations: 173 kB / 23.02 MB, free: 1.551 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.9838/0.9838, allocations: 177.1 MB / 203.4 MB, free: 5.656 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 1.995/1.995, allocations: 429.5 MB / 0.6733 GB, free: 4.059 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 1.733e-06/1.733e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.607e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002058/0.002084, allocations: 1.612 MB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003346/0.002419, allocations: 133.2 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.002455, allocations: 0 / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.002487, allocations: 4.688 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.777e-05/0.002534, allocations: 1.422 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.002855, allocations: 33.48 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.352e-05/0.002928, allocations: 45.64 kB / 0.88 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.003018, allocations: 8 kB / 0.88 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.003062, allocations: 20.64 kB / 0.88 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.003101, allocations: 16.47 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.003117, allocations: 4 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-05/0.003201, allocations: 25.44 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.003213, allocations: 4 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.003236, allocations: 15.92 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.003364, allocations: 39.83 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.003368, allocations: 4.531 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/0.003369, allocations: 4.75 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003374, allocations: 0 / 0.8801 GB, free: 4.363 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.000363/0.003737, allocations: 369.7 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.00378, allocations: 8.031 kB / 0.8805 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.00382, allocations: 8.891 kB / 0.8805 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.557e-05/0.003905, allocations: 121.2 kB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.003927, allocations: 8.359 kB / 0.8806 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.003938, allocations: 5.531 kB / 0.8806 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.004084, allocations: 66.88 kB / 0.8807 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004092, allocations: 1.219 kB / 0.8807 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.004103, allocations: 384 / 0.8807 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.004112, allocations: 4.375 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.00415, allocations: 12.97 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.00446, allocations: 271.7 kB / 0.8809 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.004633, allocations: 44.11 kB / 0.881 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.004658, allocations: 15.75 kB / 0.881 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.004759, allocations: 13.02 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.004782, allocations: 41.33 kB / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.004783, allocations: 0 / 0.881 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001561/0.004939, allocations: 55.09 kB / 0.8811 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.00497, allocations: 55.41 kB / 0.8811 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.005043, allocations: 169.8 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.005053, allocations: 29.08 kB / 0.8813 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.005103, allocations: 134.9 kB / 0.8815 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.005118, allocations: 3.953 kB / 0.8815 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.005189, allocations: 27.31 kB / 0.8815 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.005296, allocations: 0.4884 MB / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.005314, allocations: 0 / 0.882 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.005329, allocations: 8 kB / 0.882 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.005367, allocations: 19.67 kB / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005369, allocations: 0 / 0.882 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.385e-05/0.005443, allocations: 51.03 kB / 0.882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.005457, allocations: 7.938 kB / 0.8821 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.005462, allocations: 4 kB / 0.8821 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.005478, allocations: 5.562 kB / 0.8821 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/0.005529, allocations: 4 kB / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.005535, allocations: 0 / 0.8821 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.00556, allocations: 11.94 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.005565, allocations: 1.094 kB / 0.8821 GB, free: 2.133 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 7.447e-05/0.00564, allocations: 160.6 kB / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.005656, allocations: 7.938 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.005765, allocations: 53.36 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005767, allocations: 0 / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005771, allocations: 0 / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.005775, allocations: 4 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.005875, allocations: 116.6 kB / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005876, allocations: 0 / 0.8824 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.005915, allocations: 11.94 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.005918, allocations: 0 / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.005926, allocations: 3.938 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.005929, allocations: 7.984 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.00593, allocations: 0 / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.006036, allocations: 195.9 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.006044, allocations: 7.891 kB / 0.8826 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.006057, allocations: 7.938 kB / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-05/0.00609, allocations: 0 / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.006139, allocations: 7.984 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.006144, allocations: 4.422 kB / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.006181, allocations: 127.2 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006181, allocations: 0 / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001536/0.006335, allocations: 8 kB / 0.8828 GB, free: 1.348 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 0.0001322/0.006467, allocations: 115.2 kB / 0.8829 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.894e-05/0.006566, allocations: 31.66 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006567, allocations: 0 / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.54e-05/0.006593, allocations: 19.67 kB / 0.8829 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.006774, allocations: 4 kB / 0.8829 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.007058, allocations: 130.2 kB / 0.8831 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.75e-05/0.007095, allocations: 63.28 kB / 0.8831 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.007116, allocations: 4 kB / 0.8831 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.007145, allocations: 12.5 kB / 0.8831 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of SimCode: time 1.463e-06/0.007147, allocations: 0 / 0.8831 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of Templates: time 0.002805/0.009952, allocations: 0.845 MB / 0.884 GB, free: 76 kB / 0.8386 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.144313191063702]